fix Audio Labs UI (#1736)
This commit is contained in:
parent
24b62cb713
commit
ac77672454
2 changed files with 20 additions and 8 deletions
|
@ -1700,10 +1700,17 @@
|
|||
if (langs[i].category === undefined || langs[i].category === "") {
|
||||
categories.unsorted.push(langs[i])
|
||||
} else {
|
||||
categories[langs[i].category].push(langs[i])
|
||||
try {
|
||||
categories[langs[i].category].push(langs[i])
|
||||
}
|
||||
catch {
|
||||
categories["unsorted"].push(langs[i])
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
// return
|
||||
console.log(categories)
|
||||
return categories
|
||||
},
|
||||
addExperiment(flag) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue