mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-10 15:18:26 -04: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;
|
const self = this;
|
||||||
Discourse.Category.reloadById(category.get('id')).then(function (c) {
|
Discourse.Category.reloadById(category.get('id')).then(function (c) {
|
||||||
self.site.updateCategory(c);
|
self.site.updateCategory(c);
|
||||||
showModal(self, 'editCategory', c);
|
showModal('editCategory', c);
|
||||||
self.controllerFor('editCategory').set('selectedTab', 'general');
|
self.controllerFor('editCategory').set('selectedTab', 'general');
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue