Include missing manga data in updater subscription
E.g., the unread chapter count of a manga was not updated in case new chapters were found during the update.
Regression b673047517
This commit is contained in:
@@ -7,14 +7,21 @@
|
||||
*/
|
||||
|
||||
import gql from 'graphql-tag';
|
||||
import { MANGA_CHAPTER_NODE_FIELDS, MANGA_CHAPTER_STAT_FIELDS } from '@/lib/graphql/fragments/MangaFragments.ts';
|
||||
|
||||
const UPDATER_MANGA_FIELDS = gql`
|
||||
${MANGA_CHAPTER_STAT_FIELDS}
|
||||
${MANGA_CHAPTER_NODE_FIELDS}
|
||||
|
||||
fragment UPDATER_MANGA_FIELDS on MangaUpdateType {
|
||||
status
|
||||
manga {
|
||||
id
|
||||
title
|
||||
thumbnailUrl
|
||||
|
||||
...MANGA_CHAPTER_STAT_FIELDS
|
||||
...MANGA_CHAPTER_NODE_FIELDS
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user