diff --git a/web/src/pages/Budgeting.vue b/web/src/pages/Budgeting.vue
index bf00f8c..3ffb2c1 100644
--- a/web/src/pages/Budgeting.vue
+++ b/web/src/pages/Budgeting.vue
@@ -1,5 +1,5 @@
@@ -78,8 +90,8 @@ onMounted(() => {
Available |
- {{ group }}
-
+ {{ (getGroupState(group) ? "−" : "+") + " " + group.Name }}
+
{{ category.Name }} |
|
|
diff --git a/web/src/stores/budget-account.ts b/web/src/stores/budget-account.ts
index c612c0d..1f0f3d2 100644
--- a/web/src/stores/budget-account.ts
+++ b/web/src/stores/budget-account.ts
@@ -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;