From 9a2a587fb10c2130f3f51776c6aa29ef0d5c6091 Mon Sep 17 00:00:00 2001 From: rr- Date: Wed, 6 Apr 2016 08:11:37 +0200 Subject: [PATCH] client/nav: fix link to user account --- client/js/controllers/top_nav_controller.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/js/controllers/top_nav_controller.js b/client/js/controllers/top_nav_controller.js index 8fcafcf..b248f44 100644 --- a/client/js/controllers/top_nav_controller.js +++ b/client/js/controllers/top_nav_controller.js @@ -43,6 +43,8 @@ class TopNavController { } updateVisibility() { + this.items['account'].url = '/user/' + api.userName; + const b = Object.keys(this.items); for (let key of b) { this.items[key].available = true;