Move config to TS class
This commit is contained in:
parent
ad6bb903db
commit
eb58f77162
6 changed files with 122 additions and 103 deletions
|
|
@ -86,7 +86,7 @@ export default {
|
|||
} else {
|
||||
this.loading = false;
|
||||
}
|
||||
this.$config.promise.then(this.onConfigLoaded);
|
||||
this.$config.load().then(this.onConfigLoaded);
|
||||
},
|
||||
methods: {
|
||||
windowNotificationPermission,
|
||||
|
|
@ -138,7 +138,7 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
showLoadingScreen() {
|
||||
return this.loading || !(this.$config.loaded);
|
||||
return this.loading || !(this.$config.isLoaded());
|
||||
},
|
||||
notificationCount,
|
||||
currentUser() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue