mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 16:12:45 +08:00
FIX: Edit category button was broken
This commit is contained in:
parent
354b9ccf3b
commit
fb85d3c8a6
|
@ -122,7 +122,7 @@ const ApplicationRoute = Discourse.Route.extend({
|
|||
const self = this;
|
||||
Discourse.Category.reloadById(category.get('id')).then(function (c) {
|
||||
self.site.updateCategory(c);
|
||||
showModal(self, 'editCategory', c);
|
||||
showModal('editCategory', c);
|
||||
self.controllerFor('editCategory').set('selectedTab', 'general');
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user