mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 20:01:44 +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) {
|
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;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user