mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-02 16:01:55 +02:00
Fix bug in newScanMessageArea()
This commit is contained in:
parent
167916e8dd
commit
704c242aa4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue