Fix bug in newScanMessageArea()
This commit is contained in:
@@ -113,7 +113,7 @@ exports.getModule = class NewScanModule extends MenuModule {
|
|||||||
// :TODO: it would be nice to cache this - must be done by conf!
|
// :TODO: it would be nice to cache this - must be done by conf!
|
||||||
const omitMessageAreaTags = valueAsArray(_.get(this, 'menuConfig.config.omitMessageAreaTags', []));
|
const omitMessageAreaTags = valueAsArray(_.get(this, 'menuConfig.config.omitMessageAreaTags', []));
|
||||||
const sortedAreas = msgArea.getSortedAvailMessageAreasByConfTag(conf.confTag, { client : this.client } ).filter(area => {
|
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];
|
const currentArea = sortedAreas[this.currentScanAux.area];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user