fix: fix issue on tablet and smaller devices with the sidebar (#1518)
This commit is contained in:
parent
caaf5e1606
commit
218f85c81f
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<v-navigation-drawer
|
||||
:key="navigationStyle"
|
||||
:value="naviDrawer"
|
||||
v-model="naviDrawer"
|
||||
:src="sidebarBackground"
|
||||
:mini-variant="navigationStyle === 'iconsOnly'"
|
||||
:width="navigationWidth"
|
||||
@ -70,6 +70,10 @@ export default class TheSidebar extends Mixins(NavigationMixin, BaseMixin) {
|
||||
return this.$store.state.naviDrawer
|
||||
}
|
||||
|
||||
set naviDrawer(newVal) {
|
||||
this.$store.dispatch('setNaviDrawer', newVal)
|
||||
}
|
||||
|
||||
get navigationStyle() {
|
||||
return this.$store.state.gui.uiSettings.navigationStyle
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user