Trigger track progress on last page read of chapter (#690)

This commit is contained in:
schroda
2024-04-01 01:22:49 +02:00
committed by GitHub
parent 4f7a05f6fe
commit 5a2f77d124
6 changed files with 76 additions and 46 deletions

View File

@@ -253,6 +253,7 @@ export function Reader() {
.updateChapter(chapter.id, {
...patch,
chapterIdToDelete: getChapterIdToDelete(),
trackProgressMangaId: manga.trackRecords.totalCount ? manga.id : undefined,
})
.response.catch();
};