FIX: refresh admin/customize/themes route after import
Fixes an issue where the imported color schemes of a theme were not available immediately in the UI.
This commit is contained in:
parent
0dfcbdeb54
commit
3500acf2f6
|
@ -16,8 +16,7 @@ export default Ember.Route.extend({
|
|||
},
|
||||
|
||||
addTheme(theme) {
|
||||
const all = this.modelFor("adminCustomizeThemes");
|
||||
all.pushObject(theme);
|
||||
this.refresh();
|
||||
this.transitionTo("adminCustomizeThemes.show", theme.get("id"));
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue