Fix migration outdated match detection

This commit is contained in:
schroda
2026-05-22 11:33:33 +02:00
parent 3c9f80c320
commit b9aa4f06af

View File

@@ -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;