Implmeent expand/collapse of category-groups
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-02-25 20:06:26 +00:00
parent 212c81ab81
commit 55dffbbe89
2 changed files with 19 additions and 4 deletions

View File

@ -67,7 +67,10 @@ export const useAccountStore = defineStore("budget/account", {
let prev = undefined;
for (const category of categories) {
if(category.Group != prev)
categoryGroups.push(category.Group);
categoryGroups.push({
Name: category.Group,
Expand: category.Group != "Hidden Categories",
});
prev = category.Group;
}
return categoryGroups;