Fix bug in newScanMessageArea()
This commit is contained in:
parent
167916e8dd
commit
704c242aa4
|
@ -113,7 +113,7 @@ exports.getModule = class NewScanModule extends MenuModule {
|
|||
// :TODO: it would be nice to cache this - must be done by conf!
|
||||
const omitMessageAreaTags = valueAsArray(_.get(this, 'menuConfig.config.omitMessageAreaTags', []));
|
||||
const sortedAreas = msgArea.getSortedAvailMessageAreasByConfTag(conf.confTag, { client : this.client } ).filter(area => {
|
||||
return area => !omitMessageAreaTags.includes(area.areaTag);
|
||||
return !omitMessageAreaTags.includes(area.areaTag);
|
||||
});
|
||||
const currentArea = sortedAreas[this.currentScanAux.area];
|
||||
|
||||
|
|
Loading…
Reference in New Issue