Fix a dumb

This commit is contained in:
Bryan Ashby 2020-07-07 19:47:51 -06:00
parent c565b8caec
commit c8676f6c2c
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}