FIX: refresh header if message bus updates topic

This commit is contained in:
Sam Saffron 2017-02-21 11:38:57 -05:00
parent 046cbad10b
commit ce7c3bfc14
1 changed files with 1 additions and 0 deletions

View File

@ -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') &&