From 875e4ea6e6fde7ad95fef331fa3c36b10a5ac135 Mon Sep 17 00:00:00 2001 From: konrad Date: Sat, 8 Sep 2018 21:24:10 +0200 Subject: [PATCH] Fixed always loading namespaces, even if the user wasnt logged in --- src/App.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 90959d61..d5180afb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -51,7 +51,9 @@ } }, created() { - this.loadNamespaces() + if (this.user.authenticated) { + this.loadNamespaces() + } }, methods: { logout() {