diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d05d87a..862cc73a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). - (**Migration**) Fix retry button never being shown for failed search/migration entries - (**Migration**) Fix showing an empty "Available" source group header when all sources are selected - (**Migration**) Fix showing no info message when no sources are available to select as destinations +- (**Migration**) Fix duplicated search matches after resuming the migration search - (**Reader**) Fix scrollbar appearing with "fit to widt/height/screen" page scale mode and applied safe area insets - (**Reader**) Fix wrongly positioned mobile progress bar current page indicator - (**Reader**) Fix mobile progress bar previous/next chapter button visibility on hover and while disabled diff --git a/src/features/migration/MigrationManager.ts b/src/features/migration/MigrationManager.ts index cf2d5be5..e07eee8f 100644 --- a/src/features/migration/MigrationManager.ts +++ b/src/features/migration/MigrationManager.ts @@ -852,7 +852,10 @@ export class MigrationManager { ? draft.entries[draftEntry.selectedMatchMangaId] : null; - const matches = foundMatches.map((manga) => ({ + const newMatches = foundMatches.filter((newMatch) => + draftEntry.searchMatches.every((existingMatch) => newMatch.id !== existingMatch.id), + ); + const matches = newMatches.map((manga) => ({ id: manga.id, title: manga.title, artist: manga.artist,