correct require
This commit is contained in:
parent
5c899c765b
commit
3fa8329068
|
@ -54,7 +54,7 @@ const controllerOpts = {
|
|||
this.set('controllers.discovery.loading', true);
|
||||
|
||||
this.store.findFiltered('topicList', {filter}).then(list => {
|
||||
const TopicList = require('discourse/models/topic-list');
|
||||
const TopicList = require('discourse/models/topic-list').default;
|
||||
TopicList.hideUniformCategory(list, this.get('category'));
|
||||
|
||||
this.setProperties({ model: list });
|
||||
|
|
Loading…
Reference in New Issue