mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 08:02:48 +08: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:
parent
e2449f9f23
commit
3c6176b844
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user