From ddf51b5922404138b530ec8fe75de44b355ab16b Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Wed, 23 Feb 2022 23:03:18 +0000 Subject: [PATCH] Use store instead of props in BudgetSidebar --- web/src/pages/BudgetSidebar.vue | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/web/src/pages/BudgetSidebar.vue b/web/src/pages/BudgetSidebar.vue index 764ed67..9ae0fa7 100644 --- a/web/src/pages/BudgetSidebar.vue +++ b/web/src/pages/BudgetSidebar.vue @@ -5,11 +5,6 @@ import { useBudgetsStore } from "../stores/budget" import { useAccountStore } from "../stores/budget-account" import { useSettingsStore } from "../stores/settings" -const props = defineProps<{ - budgetid: string, - accountid: string, -}>(); - const ExpandMenu = computed(() => useSettingsStore().Menu.Expand); const budgetStore = useBudgetsStore(); @@ -30,7 +25,7 @@ const OffBudgetAccountsBalance = computed(() => accountStore.OffBudgetAccountsBa {{CurrentBudgetName}} - Budget
+ Budget
@@ -40,7 +35,7 @@ const OffBudgetAccountsBalance = computed(() => accountStore.OffBudgetAccountsBa
- {{account.Name}} + {{account.Name}}
@@ -50,7 +45,7 @@ const OffBudgetAccountsBalance = computed(() => accountStore.OffBudgetAccountsBa
- {{account.Name}} + {{account.Name}}