This commit is contained in:
2020-04-20 18:58:55 +00:00
parent 599479c1d0
commit 0b7f17bab1

View File

@@ -8,8 +8,13 @@
v-if="isAuthenticated" v-if="isAuthenticated"
v-model="drawer" v-model="drawer"
app app
temporary
width="345" width="345"
> >
<!--
mini-variant
mini-variant-width="60"
-->
<v-list> <v-list>
<template v-for="item in navItems"> <template v-for="item in navItems">
<!-- TOP LEVEL can be holders or actions --> <!-- TOP LEVEL can be holders or actions -->
@@ -252,6 +257,11 @@ export default {
} }
}; };
}, },
// watch: {
// drawer(val) {
// this.$store.commit("setDrawer", this.drawer);
// }
// },
created() { created() {
//Detect version change, wipe persisted form settings if has changed //Detect version change, wipe persisted form settings if has changed
let currentVersion = window.$gz.clientInfo.version; let currentVersion = window.$gz.clientInfo.version;
@@ -277,6 +287,8 @@ export default {
window.$gz.dialog.wireUpEventHandlers(this); window.$gz.dialog.wireUpEventHandlers(this);
openObjectHandler.wireUpEventHandlers(this); openObjectHandler.wireUpEventHandlers(this);
window.$gz.translation.setVuetifyDefaultLanguageElements(this); window.$gz.translation.setVuetifyDefaultLanguageElements(this);
// this.drawer = this.$store.state.drawer;
}, },
beforeDestroy() { beforeDestroy() {
//UNWIRE ALL EVENT HANDLERS FROM GZEVENTBUS //UNWIRE ALL EVENT HANDLERS FROM GZEVENTBUS