mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
Don't wait for loading to finish before resetting category
This commit is contained in:
parent
689c4cd947
commit
2305cf94ea
1 changed files with 1 additions and 1 deletions
|
@ -37,8 +37,8 @@ Discourse.FilteredListRoute = Discourse.Route.extend({
|
|||
listContent.set('loaded', false);
|
||||
}
|
||||
|
||||
listController.set('category', null);
|
||||
listController.load(this.filter).then(function(topicList) {
|
||||
listController.set('category', null);
|
||||
listController.set('canCreateTopic', topicList.get('can_create_topic'));
|
||||
listTopicsController.set('model', topicList);
|
||||
|
||||
|
|
Loading…
Reference in a new issue