Add bookmarked filter in library (#687)

This commit is contained in:
schroda
2024-04-01 01:12:26 +02:00
committed by GitHub
parent fe2cb682b6
commit 4f7a05f6fe
7 changed files with 48 additions and 14 deletions

View File

@@ -291,6 +291,7 @@ export const PARTIAL_MANGA_FIELDS = gql`
...BASE_MANGA_FIELDS
unreadCount
downloadCount
bookmarkCount
categories {
nodes {
...FULL_CATEGORY_FIELDS

File diff suppressed because one or more lines are too long

View File

@@ -117,6 +117,10 @@ export const UPDATE_CHAPTER = gql`
id
}
}
manga @include(if: $getBookmarked) {
id
bookmarkCount
}
}
}
deleteDownloadedChapter(input: { id: $chapterIdToDelete }) @include(if: $deleteChapter) {
@@ -163,6 +167,10 @@ export const UPDATE_CHAPTERS = gql`
id
}
}
manga @include(if: $getBookmarked) {
id
bookmarkCount
}
}
}
deleteDownloadedChapters(input: { ids: $chapterIdsToDelete }) @include(if: $deleteChapters) {