Fix bug in newScanMessageArea()

This commit is contained in:
Bryan Ashby 2018-12-09 02:32:20 -07:00
parent 167916e8dd
commit 704c242aa4
1 changed files with 1 additions and 1 deletions

View File

@ -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];