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.
|
// prevents scrolled from being called twice.
|
||||||
const enteredAt = this.get('controller.enteredAt');
|
const enteredAt = this.get('controller.enteredAt');
|
||||||
if (enteredAt && (this.get('lastEnteredAt') !== enteredAt)) {
|
if (enteredAt && (this.get('lastEnteredAt') !== enteredAt)) {
|
||||||
|
this._lastShowTopic = null;
|
||||||
this.scrolled();
|
this.scrolled();
|
||||||
this.set('lastEnteredAt', enteredAt);
|
this.set('lastEnteredAt', enteredAt);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue