Fix migration outdated match detection
This commit is contained in:
@@ -950,7 +950,7 @@ export class MigrationManager {
|
||||
latestChapterNumber > selectedMatchLatestChapterNumber;
|
||||
const hasNewerChapter = hasNewerChapterVsEntry && hasNewerChapterVsSelectedMatch;
|
||||
|
||||
const isOutdated = latestChapterNumber <= entryLatestChapterNumber;
|
||||
const isOutdated = latestChapterNumber < entryLatestChapterNumber;
|
||||
|
||||
const hasSameLatestChapterAsSelectedMatch =
|
||||
!!draftMatchEntry && selectedMatchLatestChapterNumber === latestChapterNumber;
|
||||
|
||||
Reference in New Issue
Block a user