From 4f0fcea7f5da6bf7a08a93673aef0c07906d4bce Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Tue, 15 Jul 2025 01:53:11 +0200 Subject: [PATCH] Ignore cached data for database library manga category cleanup Button only worked once and then required a page refresh, because, otherwise, the cached data from the first call just kept getting used --- src/modules/library/screens/LibrarySettings.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/library/screens/LibrarySettings.tsx b/src/modules/library/screens/LibrarySettings.tsx index e4adcc37..721f69d4 100644 --- a/src/modules/library/screens/LibrarySettings.tsx +++ b/src/modules/library/screens/LibrarySettings.tsx @@ -46,6 +46,7 @@ const removeNonLibraryMangasFromCategories = async (): Promise => { { filter: { inLibrary: { equalTo: false }, categoryId: { isNull: false } }, }, + { fetchPolicy: 'no-cache' }, ).response; const mangaIdsToRemove = Mangas.getIds(nonLibraryMangas.data.mangas.nodes);