Add getters for current budget ID and Name

This commit is contained in:
2022-02-05 14:26:56 +00:00
parent 80b5a7abfe
commit ddaf647d87
4 changed files with 23 additions and 11 deletions

View File

@ -28,7 +28,7 @@ export default defineComponent({
<div class="flex bg-gray-400 p-4 m-2 rounded-lg">
<span class="flex-1 font-bold text-5xl -my-3" @click="toggleMenu"></span>
<span class="flex-1">{{$store.getters.CurrentBudget.Name}}</span>
<span class="flex-1">{{$store.getters.CurrentBudgetName}}</span>
<div class="flex flex-1 flex-row justify-end -mx-4">
<router-link class="mx-4" v-if="loggedIn" to="/dashboard">Dashboard</router-link>