FIX: refresh header if message bus updates topic
This commit is contained in:
parent
046cbad10b
commit
ce7c3bfc14
|
@ -912,6 +912,7 @@ export default Ember.Controller.extend(SelectedPostsCount, BufferedContent, {
|
|||
if (data.reload_topic) {
|
||||
topic.reload().then(() => {
|
||||
this.send('postChangedRoute', topic.get('post_number') || 1);
|
||||
this.appEvents.trigger('header:show-topic', topic);
|
||||
});
|
||||
} else {
|
||||
if (topic.get('isPrivateMessage') &&
|
||||
|
|
Loading…
Reference in New Issue