From 7abfbd09ef5c0346379a2268d83efa5d33573769 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Sat, 21 Sep 2024 21:38:20 +0200 Subject: [PATCH] Properly detect active library filters --- src/components/library/LibraryToolbarMenu.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/library/LibraryToolbarMenu.tsx b/src/components/library/LibraryToolbarMenu.tsx index c66a7b1d..5fb56743 100644 --- a/src/components/library/LibraryToolbarMenu.tsx +++ b/src/components/library/LibraryToolbarMenu.tsx @@ -26,6 +26,9 @@ export const LibraryToolbarMenu = ({ const active = options.hasDownloadedChapters != null || options.hasUnreadChapters != null || + options.hasBookmarkedChapters != null || + options.hasDuplicateChapters != null || + Object.values(options.hasStatus).some((hasStatus) => hasStatus != null) || Object.values(options.hasTrackerBinding).some((trackerFilterStatus) => trackerFilterStatus != null); return (