diff --git a/core/theme.js b/core/theme.js index c64792d5..f9cf5792 100644 --- a/core/theme.js +++ b/core/theme.js @@ -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'); }