mirror of
https://github.com/transmission/transmission.git
synced 2026-02-15 07:26:49 +00:00
fix oops in web client torrent filtering
This commit is contained in:
@@ -395,7 +395,9 @@ export class Torrent extends EventTarget {
|
||||
if (pass) {
|
||||
// pass if this torrent has any of these labels
|
||||
const torrent_labels = this.getLabels();
|
||||
pass = labels.some((label) => torrent_labels.includes(label));
|
||||
if (torrent_labels.length > 0) {
|
||||
pass = labels.some((label) => torrent_labels.includes(label));
|
||||
}
|
||||
}
|
||||
|
||||
// maybe filter by tracker...
|
||||
|
||||
Reference in New Issue
Block a user