Fix mapping for menu in App.vue
This commit is contained in:
parent
f6cb6d4163
commit
1af69b047d
@ -8,7 +8,7 @@ import { useSettingsStore } from "./stores/settings";
|
|||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(useBudgetsStore, ["CurrentBudgetName"]),
|
...mapState(useBudgetsStore, ["CurrentBudgetName"]),
|
||||||
...mapState(useSettingsStore, ["ExpandMenu", "ShowMenu"]),
|
...mapState(useSettingsStore, ["Menu"]),
|
||||||
...mapState(useSessionStore, ["LoggedIn"]),
|
...mapState(useSessionStore, ["LoggedIn"]),
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -43,7 +43,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
<div class="flex flex-col md:flex-row flex-1">
|
<div class="flex flex-col md:flex-row flex-1">
|
||||||
<div
|
<div
|
||||||
:class="[ExpandMenu ? 'md:w-72' : 'md:w-36', ShowMenu ? '' : 'hidden']"
|
:class="[Menu.Expand ? 'md:w-72' : 'md:w-36', Menu.Show ? '' : 'hidden']"
|
||||||
class="md:block flex-shrink-0 w-full"
|
class="md:block flex-shrink-0 w-full"
|
||||||
>
|
>
|
||||||
<router-view name="sidebar"></router-view>
|
<router-view name="sidebar"></router-view>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user