Skip to content

Commit

Permalink
Fixed Birdnet migrants list
Browse files Browse the repository at this point in the history
  • Loading branch information
Mattk70 committed Feb 9, 2024
1 parent 03ed254 commit 53fb4c8
Show file tree
Hide file tree
Showing 3 changed files with 3,303 additions and 3,285 deletions.
2 changes: 1 addition & 1 deletion js/listWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class Model {
// BirdNET nocturnal bird filter
for (let i = 0; i < this.labels.length; i++) {
const item = this.labels[i];
if (ACTIVITY_INDEX[item] !== 1 && BIRDNET_NOT_BIRDS.indexOf(item) !== -1) includedIDs.push(i);
if (ACTIVITY_INDEX[item] !== 1 && BIRDNET_NOT_BIRDS.indexOf(item) < 0) includedIDs.push(i);
}
}
} else {
Expand Down
Loading

0 comments on commit 53fb4c8

Please sign in to comment.