use for-of statements to replace for and for-in

This commit is contained in:
MaysWind
2025-09-09 23:48:42 +08:00
parent c75a902d84
commit 34c5a1750e
50 changed files with 368 additions and 460 deletions
@@ -248,7 +248,7 @@ function updateCategorySelected(category: TransactionCategory, value: boolean |
}
function updateAllSubCategoriesSelected(category: TransactionCategory, value: boolean | null): void {
selectAllSubCategories(filterCategoryIds.value, category, !value);
selectAllSubCategories(filterCategoryIds.value, !value, category);
if (props.autoSave) {
save();