Skip to content

Commit

Permalink
Fix #469
Browse files Browse the repository at this point in the history
  • Loading branch information
ukdtom committed Apr 26, 2022
1 parent e936d88 commit 08fbdb6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/modules/ExportTools/scripts/ethelper.js
Expand Up @@ -1557,7 +1557,7 @@ const etHelper = new class ETHELPER {

getIncludeInfo(){
let includeInfo;
log.debug(`etHelper (getIncludeInfo) - Started. libTypeSec is: ${this.Settings.libTypeSec} and levelName is: ${this.Settings.levelName}`);
log.debug(`[ethelper.js] (getIncludeInfo) - Started. libTypeSec is: ${this.Settings.libTypeSec} and levelName is: ${this.Settings.levelName}`);
try {
includeInfo = defLevels[this.Settings.libTypeSec]['Include'][this.Settings.levelName];
}
Expand All @@ -1568,11 +1568,15 @@ const etHelper = new class ETHELPER {
{
includeInfo = ''
}
if (includeInfo == undefined)
{
includeInfo = ''
}
if (includeInfo == null)
{
includeInfo = wtconfig.get('ET.CustomLevels.' + this.Settings.libTypeSec + '.Include.' + this.Settings.levelName);
}
log.debug(`etHelper (getInclude) - returning: ${includeInfo}`);
log.debug(`[ethelper.js] (getIncludeInfo) - returning: ${includeInfo}`);
return includeInfo;
}

Expand Down

0 comments on commit 08fbdb6

Please sign in to comment.