client/nav: fix link to user account

This commit is contained in:
rr- 2016-04-06 08:11:37 +02:00
parent 85ed552fce
commit 9a2a587fb1
1 changed files with 2 additions and 0 deletions

View File

@ -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;