From 117e48a9e8f18557b2a0a603fb8f4d41893311a8 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Sun, 29 Oct 2023 13:29:59 +0100 Subject: [PATCH] Mark first chapter as read for "mark previous as read" --- src/components/manga/ChapterCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/manga/ChapterCard.tsx b/src/components/manga/ChapterCard.tsx index ffc61ebf63..a1f6aeaad0 100644 --- a/src/components/manga/ChapterCard.tsx +++ b/src/components/manga/ChapterCard.tsx @@ -69,7 +69,7 @@ export const ChapterCard: React.FC = (props: IProps) => { if (key === 'markPrevRead') { const index = chapterIds.findIndex((chapterId) => chapterId === chapter.id); - requestManager.updateChapters(chapterIds.slice(index, -1), { isRead: true }); + requestManager.updateChapters(chapterIds.slice(index), { isRead: true }); return; }