From 37191b971b75c72f0de20ba1ce65ff61392e1404 Mon Sep 17 00:00:00 2001 From: Someone <10882916+InterN0te@users.noreply.github.com> Date: Mon, 6 Nov 2023 00:18:24 +0000 Subject: [PATCH] Used label filter only if necessary --- src/widgets/torrent/TorrentTile.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widgets/torrent/TorrentTile.tsx b/src/widgets/torrent/TorrentTile.tsx index d2316101d..700903cac 100644 --- a/src/widgets/torrent/TorrentTile.tsx +++ b/src/widgets/torrent/TorrentTile.tsx @@ -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) }