mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fix active theme selector. Add validation to API.
Closes #3226 - Remove dependent property from the computed content property that is used to build the active theme selector. - Add validation to the Settings model so that it rejects attempts to set an activeTheme that is not installed.
This commit is contained in:
parent
e5e5cf1310
commit
a0dc639a38
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ var SettingsGeneralController = Ember.ObjectController.extend({
|
|||
|
||||
return themes;
|
||||
}, []);
|
||||
}.property('availableThemes').readOnly(),
|
||||
}.property().readOnly(),
|
||||
|
||||
actions: {
|
||||
save: function () {
|
||||
|
|
Loading…
Add table
Reference in a new issue