mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: Header was sometimes being shown twice in a topic
This commit is contained in:
parent
0cbf7c2417
commit
ffde23f09f
1 changed files with 4 additions and 1 deletions
|
@ -102,7 +102,10 @@ Discourse.TopicRoute = Discourse.Route.extend({
|
|||
|
||||
setupController: function(controller, model) {
|
||||
controller.set('model', model);
|
||||
this.controllerFor('header').set('topic', model);
|
||||
this.controllerFor('header').setProperties({
|
||||
topic: model,
|
||||
showExtraInfo: false
|
||||
});
|
||||
this.controllerFor('composer').set('topic', model);
|
||||
Discourse.TopicTrackingState.current().trackIncoming('all');
|
||||
controller.subscribe();
|
||||
|
|
Loading…
Reference in a new issue