FIX: If you refresh New, clear the incoming topics text
This commit is contained in:
parent
dd0cb6a117
commit
941adca958
|
@ -58,6 +58,7 @@ const controllerOpts = {
|
||||||
// Lesson learned: Don't call `loading` yourself.
|
// Lesson learned: Don't call `loading` yourself.
|
||||||
this.set('discovery.loading', true);
|
this.set('discovery.loading', true);
|
||||||
|
|
||||||
|
this.topicTrackingState.resetTracking();
|
||||||
this.store.findFiltered('topicList', {filter}).then(list => {
|
this.store.findFiltered('topicList', {filter}).then(list => {
|
||||||
const TopicList = require('discourse/models/topic-list').default;
|
const TopicList = require('discourse/models/topic-list').default;
|
||||||
TopicList.hideUniformCategory(list, this.get('category'));
|
TopicList.hideUniformCategory(list, this.get('category'));
|
||||||
|
|
Loading…
Reference in New Issue