correct no highlighting categories when clicked
This commit is contained in:
parent
060c79ecc0
commit
3ad7d74c52
|
@ -38,7 +38,12 @@ Discourse.ListCategoriesRoute = Discourse.Route.extend({
|
|||
afterModel: function(categoryList) {
|
||||
this.controllerFor('list').setProperties({
|
||||
canCreateCategory: categoryList.get('can_create_category'),
|
||||
canCreateTopic: categoryList.get('can_create_topic'),
|
||||
canCreateTopic: categoryList.get('can_create_topic')
|
||||
});
|
||||
},
|
||||
|
||||
enter: function() {
|
||||
this.controllerFor('list').setProperties({
|
||||
filterMode: 'categories',
|
||||
category: null
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue