Move config to TS class

This commit is contained in:
N-Pex 2025-07-04 17:32:23 +02:00
parent ad6bb903db
commit eb58f77162
6 changed files with 122 additions and 103 deletions

View file

@ -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() {