client/tags: fix window title
This commit is contained in:
parent
ef4806e142
commit
76e9307449
|
@ -12,7 +12,7 @@ class TagController {
|
||||||
constructor(ctx, section) {
|
constructor(ctx, section) {
|
||||||
Tag.get(ctx.parameters.name).then(tag => {
|
Tag.get(ctx.parameters.name).then(tag => {
|
||||||
topNavigation.activate('tags');
|
topNavigation.activate('tags');
|
||||||
topNavigation.setTitle('Tag #' + tag);
|
topNavigation.setTitle('Tag #' + tag.names[0]);
|
||||||
|
|
||||||
this._name = ctx.parameters.name;
|
this._name = ctx.parameters.name;
|
||||||
tag.addEventListener('change', e => this._evtSaved(e));
|
tag.addEventListener('change', e => this._evtSaved(e));
|
||||||
|
|
Loading…
Reference in New Issue