Used label filter only if necessary
This commit is contained in:
@@ -245,7 +245,7 @@ const getRatio = (
|
|||||||
|
|
||||||
if(applyAllFilter) {
|
if(applyAllFilter) {
|
||||||
torrents = filterTorrents(widget,torrents)
|
torrents = filterTorrents(widget,torrents)
|
||||||
} else {
|
} else if (widget.properties.labelFilter.length > 0) {
|
||||||
torrents = filterTorrentsByLabels(torrents, widget.properties.labelFilter,widget.properties.labelFilterIsWhitelist)
|
torrents = filterTorrentsByLabels(torrents, widget.properties.labelFilter,widget.properties.labelFilterIsWhitelist)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user