Skip to content

Commit

Permalink
Actually send library db cleanup mutation (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
schroda authored Jan 26, 2024
1 parent 18ca66c commit f335b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/settings/LibrarySettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const removeNonLibraryMangasFromCategories = async (): Promise<void> => {

const mangaIdsToRemove = Mangas.getIds(nonLibraryMangas.data.mangas.nodes);

if (!mangaIdsToRemove.length) {
if (mangaIdsToRemove.length) {
await requestManager.updateMangasCategories(mangaIdsToRemove, {
clearCategories: true,
}).response;
Expand Down

0 comments on commit f335b59

Please sign in to comment.