Improve new components

This commit is contained in:
2022-09-23 20:42:39 +00:00
parent 94c2465109
commit 31a4135f2e
4 changed files with 131 additions and 104 deletions

View File

@@ -120,15 +120,10 @@ export const useAccountStore = defineStore("budget/account", {
Expand: prev.Name != "Hidden Categories",
});
} else {
categoryGroups[categoryGroups.length - 1].Available +=
this.GetCategoryAvailable(category);
categoryGroups[
categoryGroups.length - 1
].AvailableLastMonth += category.AvailableLastMonth;
categoryGroups[categoryGroups.length - 1].Activity +=
category.Activity;
categoryGroups[categoryGroups.length - 1].Assigned +=
category.Assigned;
categoryGroups[categoryGroups.length - 1].Available += this.GetCategoryAvailable(category);
categoryGroups[categoryGroups.length - 1].AvailableLastMonth += category.AvailableLastMonth;
categoryGroups[categoryGroups.length - 1].Activity += category.Activity;
categoryGroups[categoryGroups.length - 1].Assigned += category.Assigned;
continue;
}
}