mirror of
https://github.com/zoriya/flood.git
synced 2026-06-06 12:02:13 +00:00
Fix tracker filtering
This commit is contained in:
@@ -11,7 +11,7 @@ export function filterTorrents(torrentList, opts) {
|
||||
});
|
||||
} else if (type === 'tracker') {
|
||||
return torrentList.filter((torrent) => {
|
||||
return torrent.trackers.includes(filter);
|
||||
return torrent.trackerURIs.includes(filter);
|
||||
});
|
||||
} else if (type === 'tag') {
|
||||
return torrentList.filter((torrent) => {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user