Skip to content

Commit

Permalink
only manga in library show in library
Browse files Browse the repository at this point in the history
  • Loading branch information
Robonau committed Oct 16, 2023
1 parent eca3f0e commit 733d2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/(app)/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
const tmp = await Asynccategory({ variables: { id } });
if (id === currcat) {
mangas = structuredClone(tmp);
mangaslist = structuredClone(mangas.data.category?.mangas.nodes);
mangaslist = structuredClone(mangas.data.category?.mangas.nodes.filter((e) => e.inLibrary));
}
}
}
Expand Down

0 comments on commit 733d2da

Please sign in to comment.