Fix bad if condition on languages page (#1721)

This commit is contained in:
Sasha Sorokin
2024-06-15 00:21:22 +02:00
committed by GitHub
parent 34fd9d29c8
commit 5db5f2251f

View File

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