mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
@@ -12,7 +12,7 @@ export default Ember.Service.extend({
|
|||||||
|
|
||||||
getSetting(themeId, settingsKey) {
|
getSetting(themeId, settingsKey) {
|
||||||
if (this._settings[themeId]) {
|
if (this._settings[themeId]) {
|
||||||
return this._settings[themeId][settingsKey];
|
return Ember.get(this._settings[themeId], settingsKey);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user