Consider unread chapters only for "mark prev as read"
Otherwise, the "last read at" timestamp gets unintentionally updated
This commit is contained in:
@@ -150,7 +150,9 @@ export const ChapterActionMenuItems = ({
|
||||
return [];
|
||||
}
|
||||
|
||||
return allChapters.slice(index + 1);
|
||||
const previousChapters = allChapters.slice(index + 1);
|
||||
|
||||
return Chapters.getNonRead(previousChapters);
|
||||
};
|
||||
|
||||
const chaptersToUpdate = getChapters();
|
||||
|
||||
Reference in New Issue
Block a user