mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 01:04:25 +08:00
use for-of statements to replace for and for-in
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user