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
This commit is contained in:
schroda
2025-07-15 01:53:11 +02:00
parent 4d573174c6
commit 4f0fcea7f5

View File

@@ -46,6 +46,7 @@ const removeNonLibraryMangasFromCategories = async (): Promise<void> => {
{
filter: { inLibrary: { equalTo: false }, categoryId: { isNull: false } },
},
{ fetchPolicy: 'no-cache' },
).response;
const mangaIdsToRemove = Mangas.getIds(nonLibraryMangas.data.mangas.nodes);