FIX: If you refresh New, clear the incoming topics text

This commit is contained in:
Robin Ward 2017-05-15 16:56:41 -04:00
parent dd0cb6a117
commit 941adca958
1 changed files with 1 additions and 0 deletions

View File

@ -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'));