mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-02 20:59:15 +01:00
Used label filter only if necessary
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user