mirror of
https://github.com/discourse/discourse.git
synced 2025-03-24 20:35:33 +08:00
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…
x
Reference in New Issue
Block a user