FIX: Allow accessing nested objects within theme settings

This is required to access keys within the new theme_uploads object
This commit is contained in:
David Taylor 2019-08-30 12:27:02 +01:00
parent e2449f9f23
commit 3c6176b844
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ export default Ember.Service.extend({
getSetting(themeId, settingsKey) {
if (this._settings[themeId]) {
return this._settings[themeId][settingsKey];
return Ember.get(this._settings[themeId], settingsKey);
}
return null;
},