Fix a dumb
This commit is contained in:
parent
c565b8caec
commit
c8676f6c2c
|
@ -265,7 +265,7 @@ exports.ThemeManager = class ThemeManager {
|
|||
};
|
||||
|
||||
[ 'menus', 'prompts'].forEach(sectionName => {
|
||||
if (!_.isObject(mergedTheme.sectionName)) {
|
||||
if (!_.isObject(mergedTheme[sectionName])) {
|
||||
return Log.error({sectionName}, 'Merged theme is missing section');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue