Fix download menu item action repeated usage

Regression 19962df378
This commit is contained in:
schroda
2026-06-05 15:07:59 +02:00
parent 09c04f4b62
commit ac1845306d

View File

@@ -197,11 +197,17 @@ export class Mangas {
const { data } = await requestManager.getChapters< const { data } = await requestManager.getChapters<
GetMangasChapterIdsWithStateQuery, GetMangasChapterIdsWithStateQuery,
GetMangasChapterIdsWithStateQueryVariables GetMangasChapterIdsWithStateQueryVariables
>(GET_MANGAS_CHAPTER_IDS_WITH_STATE, { >(
filter: { mangaId: { in: mangaIds }, scanlator: { notIncludesInsensitiveAny: excludedScanlators } }, GET_MANGAS_CHAPTER_IDS_WITH_STATE,
condition: { ...state }, {
order: [{ by: ChapterOrderBy.SourceOrder }], filter: { mangaId: { in: mangaIds }, scanlator: { notIncludesInsensitiveAny: excludedScanlators } },
}).response; condition: { ...state },
order: [{ by: ChapterOrderBy.SourceOrder }],
},
{
fetchPolicy: 'network-only',
},
).response;
return data?.chapters.nodes ?? []; return data?.chapters.nodes ?? [];
} }