From 316148531c28ca13cd58d507f84324fa9262cda0 Mon Sep 17 00:00:00 2001 From: konrad Date: Thu, 7 Mar 2019 19:48:55 +0000 Subject: [PATCH] Fixed namespaces nav sometimes using an old jwt token (#26) --- src/App.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.vue b/src/App.vue index 9ce6cdd49..cc36a3d23 100644 --- a/src/App.vue +++ b/src/App.vue @@ -158,7 +158,6 @@ }, created() { if (this.user.authenticated) { - this.namespaceService = new NamespaceService() this.loadNamespaces() } }, @@ -174,6 +173,7 @@ return 'https://www.gravatar.com/avatar/' + this.user.infos.avatar + '?s=50' }, loadNamespaces() { + this.namespaceService = new NamespaceService() this.namespaceService.getAll() .then(r => { this.$set(this, 'namespaces', r)