fix Audio Labs UI (#1736)

This commit is contained in:
yazninja 2023-06-07 10:46:57 +03:00 committed by GitHub
parent 24b62cb713
commit ac77672454
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 8 deletions

View file

@ -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) {