From 76e93074490c6834cdc3c5e30bffb75ba0ee6f79 Mon Sep 17 00:00:00 2001 From: rr- Date: Fri, 29 Jul 2016 11:00:26 +0200 Subject: [PATCH] client/tags: fix window title --- client/js/controllers/tag_controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/controllers/tag_controller.js b/client/js/controllers/tag_controller.js index 1eaca6f..73f57e0 100644 --- a/client/js/controllers/tag_controller.js +++ b/client/js/controllers/tag_controller.js @@ -12,7 +12,7 @@ class TagController { constructor(ctx, section) { Tag.get(ctx.parameters.name).then(tag => { topNavigation.activate('tags'); - topNavigation.setTitle('Tag #' + tag); + topNavigation.setTitle('Tag #' + tag.names[0]); this._name = ctx.parameters.name; tag.addEventListener('change', e => this._evtSaved(e));