Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Fix bad if condition on languages page (#1721)
Browse files Browse the repository at this point in the history
  • Loading branch information
brawaru authored Jun 14, 2024
1 parent 34fd9d2 commit 5db5f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/settings/language.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 5db5f22

Please sign in to comment.