diff options
Diffstat (limited to 'client/js/controllers/top_nav_controller.js')
| -rw-r--r-- | client/js/controllers/top_nav_controller.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/js/controllers/top_nav_controller.js b/client/js/controllers/top_nav_controller.js index 4e27395..a9c15ea 100644 --- a/client/js/controllers/top_nav_controller.js +++ b/client/js/controllers/top_nav_controller.js @@ -10,6 +10,7 @@ class NavigationItem { this.name = name; this.url = url; this.available = true; + this.imageUrl = null; } } @@ -46,6 +47,7 @@ class TopNavController { updateVisibility() { this.items.account.url = '/user/' + api.userName; + this.items.account.imageUrl = api.user ? api.user.avatarUrl : null; const b = Object.keys(this.items); for (let key of b) { |