Implmeent expand/collapse of category-groups
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user