Only trigger track progress on last page read (#693)
This commit is contained in:
@@ -253,7 +253,7 @@ export function Reader() {
|
|||||||
.updateChapter(chapter.id, {
|
.updateChapter(chapter.id, {
|
||||||
...patch,
|
...patch,
|
||||||
chapterIdToDelete: getChapterIdToDelete(),
|
chapterIdToDelete: getChapterIdToDelete(),
|
||||||
trackProgressMangaId: manga.trackRecords.totalCount ? manga.id : undefined,
|
trackProgressMangaId: patch.isRead && manga.trackRecords.totalCount ? manga.id : undefined,
|
||||||
})
|
})
|
||||||
.response.catch();
|
.response.catch();
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user