You've already forked AstralRinth
forked from didirus/AstralRinth
Fix bad if condition on languages page (#1721)
This commit is contained in:
@@ -189,7 +189,7 @@ const $categories = computed(() => {
|
||||
}
|
||||
|
||||
for (const categoryKey of [...categories.keys()]) {
|
||||
if (categories.get(categoryKey)?.length === 0 ?? false) {
|
||||
if (categories.get(categoryKey)?.length === 0) {
|
||||
categories.delete(categoryKey)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user