mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-02-02 04:40:06 -05:00
FIX: Edit category button was broken
This commit is contained in:
parent
354b9ccf3b
commit
fb85d3c8a6
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue