Mark duplicated chapters as read
Should have been done with fd2946d1ae, but it only deleted downloads of duplicated chapters
This commit is contained in:
@@ -253,8 +253,12 @@ export function Reader() {
|
|||||||
|
|
||||||
downloadAhead();
|
downloadAhead();
|
||||||
|
|
||||||
|
const chapterIds = settings.skipDupChapters
|
||||||
|
? Chapters.getIds(Chapters.addDuplicates([chapter], mangaChapters ?? [chapter]))
|
||||||
|
: [chapter.id];
|
||||||
|
|
||||||
requestManager
|
requestManager
|
||||||
.updateChapters([chapter.id], {
|
.updateChapters(chapterIds, {
|
||||||
...patch,
|
...patch,
|
||||||
chapterIdsToDelete: getChapterIdsToDelete(),
|
chapterIdsToDelete: getChapterIdsToDelete(),
|
||||||
trackProgressMangaId:
|
trackProgressMangaId:
|
||||||
|
|||||||
Reference in New Issue
Block a user