mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
lgtm: fix alerts
This commit is contained in:
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 });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user