mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 13:35:24 +08:00
FIX: Topic title wasn't showing properly when entering lower in topics
This commit is contained in:
@ -142,7 +142,10 @@ export default Ember.Component.extend(AddArchetypeClass, Scrolling, {
|
||||
this.appEvents.trigger('header:show-topic', topic);
|
||||
} else {
|
||||
if (!DiscourseURL.isJumpScheduled()) {
|
||||
this.appEvents.trigger('header:hide-topic');
|
||||
const loadingNear = topic.get('postStream.loadingNearPost') || 1;
|
||||
if (loadingNear === 1) {
|
||||
this.appEvents.trigger('header:hide-topic');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user