Fix missing computed calls in BudgetSidebar
This commit is contained in:
parent
0aa877d7d4
commit
1a79177422
@ -1,4 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import { computed } from "vue";
|
||||
import Currency from "../components/Currency.vue"
|
||||
import { useBudgetsStore } from "../stores/budget"
|
||||
import { useAccountStore } from "../stores/budget-account"
|
||||
@ -9,17 +10,17 @@ const props = defineProps<{
|
||||
accountid: string,
|
||||
}>();
|
||||
|
||||
const ExpandMenu = useSettingsStore().Menu.Expand;
|
||||
const ExpandMenu = computed(() => useSettingsStore().Menu.Expand);
|
||||
|
||||
const budgetStore = useBudgetsStore();
|
||||
const CurrentBudgetName = budgetStore.CurrentBudgetName;
|
||||
const CurrentBudgetID = budgetStore.CurrentBudgetID;
|
||||
const CurrentBudgetName = computed(() => budgetStore.CurrentBudgetName);
|
||||
const CurrentBudgetID = computed(() => budgetStore.CurrentBudgetID);
|
||||
|
||||
const accountStore = useAccountStore();
|
||||
const OnBudgetAccounts = accountStore.OnBudgetAccounts;
|
||||
const OffBudgetAccounts = accountStore.OffBudgetAccounts;
|
||||
const OnBudgetAccountsBalance = accountStore.OnBudgetAccountsBalance;
|
||||
const OffBudgetAccountsBalance = accountStore.OffBudgetAccountsBalance;
|
||||
const OnBudgetAccounts = computed(() => accountStore.OnBudgetAccounts);
|
||||
const OffBudgetAccounts = computed(() => accountStore.OffBudgetAccounts);
|
||||
const OnBudgetAccountsBalance = computed(() => accountStore.OnBudgetAccountsBalance);
|
||||
const OffBudgetAccountsBalance = computed(() => accountStore.OffBudgetAccountsBalance);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
Loading…
x
Reference in New Issue
Block a user