This commit is contained in:
2020-04-20 22:33:03 +00:00
parent 563ea0fdb0
commit 8f1f07e659
2 changed files with 12 additions and 21 deletions

View File

@@ -11,6 +11,16 @@
temporary
width="345"
>
<template v-slot:prepend>
<div class="subtitle-2 primary--text pt-2 pl-4">
{{ $store.state.userName }}
</div>
<!-- <v-list-item>
<v-list-item-content>
<v-list-item-title>{{ $store.state.userName }}</v-list-item-title>
</v-list-item-content>
</v-list-item> -->
</template>
<!--
mini-variant
mini-variant-width="60"
@@ -31,6 +41,7 @@
<!--group activator -->
<v-list-item-title>{{ item.title }}</v-list-item-title>
</template>
<!-- TOP LEVEL HOLDER SUBITEMS -->
<template v-for="subitem in item.navItems">
<template v-if="!subitem.route">
@@ -219,20 +230,6 @@
<script>
/* Xeslint-disable */
/*
<v-footer color="primary" v-if="!isAuthenticated">
<div class="text-center overline">
<a
href="https://ayanova.com"
target="_blank"
style="text-decoration:none"
class="white--text caption"
>
<span>AyaNova ({{ version }}) {{ copyright }}</span>
</a>
</div>
</v-footer>
*/
import ayaNovaVersion from "./api/ayanova-version";
import gzconfirm from "./components/gzconfirm";
import gznotify from "./components/gznotify";
@@ -256,7 +253,7 @@ export default {
menuItems: []
}
};
},
},
created() {
//Detect version change, wipe persisted form settings if has changed
let currentVersion = window.$gz.clientInfo.version;
@@ -282,7 +279,6 @@ export default {
window.$gz.dialog.wireUpEventHandlers(this);
openObjectHandler.wireUpEventHandlers(this);
window.$gz.translation.setVuetifyDefaultLanguageElements(this);
},
beforeDestroy() {
//UNWIRE ALL EVENT HANDLERS FROM GZEVENTBUS