lgtm: fix alerts

This commit is contained in:
undefined committed 2021-04-19 23:46:58 +08:00
1 parent f1f956202f
commit ce880b4e05
5 files changed
+7 -6

No files matched your search

@@ -62,7 +62,7 @@ function parseCategorySelection() {
else if (!subcategory) {
categories[category].select = true;
dirtyCategories.push({ type: 'category', category });
} else if (category) {
} else {
categories[category].children[subcategory].select = true;
dirtyCategories.push({ type: 'subcategory', subcategory, category });
}