Fixed always loading namespaces, even if the user wasnt logged in

This commit is contained in:
konrad 2018-09-08 21:24:10 +02:00
parent fad767e73d
commit 875e4ea6e6
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,9 @@
}
},
created() {
this.loadNamespaces()
if (this.user.authenticated) {
this.loadNamespaces()
}
},
methods: {
logout() {