mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-28 05:26:10 +02:00
Fix a dumb
This commit is contained in:
parent
c565b8caec
commit
c8676f6c2c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue