Used label filter only if necessary

This commit is contained in:
Someone
2023-11-06 00:18:24 +00:00
parent 8495d5b165
commit 37191b971b

View File

@@ -245,7 +245,7 @@ const getRatio = (
if(applyAllFilter) {
torrents = filterTorrents(widget,torrents)
} else {
} else if (widget.properties.labelFilter.length > 0) {
torrents = filterTorrentsByLabels(torrents, widget.properties.labelFilter,widget.properties.labelFilterIsWhitelist)
}