This commit is contained in:
2018-11-16 22:21:55 +00:00
parent 2974353b95
commit fbad297525
3 changed files with 10 additions and 7 deletions

View File

@@ -14,7 +14,7 @@
<v-btn large icon to="/log">
<v-icon>fa-glasses</v-icon>
</v-btn>
</v-toolbar>
</v-toolbar>
<v-list two-line subheader>
<v-subheader>{{ lt("ClientApp")}}</v-subheader>
<v-list-tile avatar>
@@ -113,7 +113,7 @@ export default {
clientInfo: {}
};
},
beforeMount() {
beforeRouteEnter(to, from, next) {
lt.fetch([
"HelpAboutAyaNova",
"ClientApp",
@@ -129,7 +129,9 @@ export default {
"LicenseExpiration",
"SupportedUntil",
"LicensedOptions"
]);
]).then(() => {
next();
});
},
mounted() {
this.clientInfo.version = aboutInfo.version;

View File

@@ -15,8 +15,10 @@ export default {
data() {
return {};
},
async Created() {
await lt.fetch(["Log"]);
beforeRouteEnter(to, from, next) {
lt.fetch(["Log"]).then(() => {
next();
});
},
mounted() {},
methods: {