mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 08:56:36 +08:00
Don't wait for loading to finish before resetting category
This commit is contained in:
parent
689c4cd947
commit
2305cf94ea
|
@ -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 New Issue
Block a user