mirror of
https://github.com/zoriya/flood.git
synced 2026-06-05 03:39:24 +00:00
Merge pull request #394 from jfurrow/bug/fix-tracker-filtering
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