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: {

View File

@@ -7,8 +7,7 @@ Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOiIxNTQxNTE5NTA5IiwiZXhwIjoi
- Clean up error log view so it displays correctly with copyable text box and scrollbars of some kind
- Centralize the lt function, find out how to move it into the top so can just call it from anywhere
- pre-fetch: noticed it's not pausing long enough to get teh fetched text at times (log view)
- !!This will be important to every form loading data so need to get it right here!!
- This seems to be best done in the router if I want to prefetch before the component lifecycle starts