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
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

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