client/nav: fix link to user account
This commit is contained in:
parent
85ed552fce
commit
9a2a587fb1
|
@ -43,6 +43,8 @@ class TopNavController {
|
||||||
}
|
}
|
||||||
|
|
||||||
updateVisibility() {
|
updateVisibility() {
|
||||||
|
this.items['account'].url = '/user/' + api.userName;
|
||||||
|
|
||||||
const b = Object.keys(this.items);
|
const b = Object.keys(this.items);
|
||||||
for (let key of b) {
|
for (let key of b) {
|
||||||
this.items[key].available = true;
|
this.items[key].available = true;
|
||||||
|
|
Loading…
Reference in New Issue