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<
GetMangasChapterIdsWithStateQuery,
GetMangasChapterIdsWithStateQueryVariables
>(GET_MANGAS_CHAPTER_IDS_WITH_STATE, {
filter: { mangaId: { in: mangaIds }, scanlator: { notIncludesInsensitiveAny: excludedScanlators } },
condition: { ...state },
order: [{ by: ChapterOrderBy.SourceOrder }],
}).response;
>(
GET_MANGAS_CHAPTER_IDS_WITH_STATE,
{
filter: { mangaId: { in: mangaIds }, scanlator: { notIncludesInsensitiveAny: excludedScanlators } },
condition: { ...state },
order: [{ by: ChapterOrderBy.SourceOrder }],
},
{
fetchPolicy: 'network-only',
},
).response;
return data?.chapters.nodes ?? [];
}