mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: Topic title wasn't updating when navigating between topics
This commit is contained in:
parent
e72f63e311
commit
dc014ac4aa
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ const TopicView = Ember.View.extend(AddCategoryClass, AddArchetypeClass, Scrolli
|
|||
// prevents scrolled from being called twice.
|
||||
const enteredAt = this.get('controller.enteredAt');
|
||||
if (enteredAt && (this.get('lastEnteredAt') !== enteredAt)) {
|
||||
this._lastShowTopic = null;
|
||||
this.scrolled();
|
||||
this.set('lastEnteredAt', enteredAt);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue