Fixed namespaces nav sometimes using an old jwt token #26
|
@ -150,7 +150,6 @@
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
if (this.user.authenticated) {
|
if (this.user.authenticated) {
|
||||||
this.namespaceService = new NamespaceService()
|
|
||||||
this.loadNamespaces()
|
this.loadNamespaces()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -166,6 +165,7 @@
|
||||||
return 'https://www.gravatar.com/avatar/' + this.user.infos.avatar + '?s=50'
|
return 'https://www.gravatar.com/avatar/' + this.user.infos.avatar + '?s=50'
|
||||||
},
|
},
|
||||||
loadNamespaces() {
|
loadNamespaces() {
|
||||||
|
this.namespaceService = new NamespaceService()
|
||||||
this.namespaceService.getAll()
|
this.namespaceService.getAll()
|
||||||
.then(r => {
|
.then(r => {
|
||||||
this.$set(this, 'namespaces', r)
|
this.$set(this, 'namespaces', r)
|
||||||
|
|
Reference in New Issue
Block a user