From c8676f6c2c091674d02a6eb55a7040b82a01aa26 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Tue, 7 Jul 2020 19:47:51 -0600 Subject: [PATCH] Fix a dumb --- core/theme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }