mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:47:22 +08:00
FIX: Topic title wasn't updating when navigating between topics
This commit is contained in:
parent
e72f63e311
commit
dc014ac4aa
|
@ -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 New Issue
Block a user