diff --git a/src/features/migration/MigrationManager.ts b/src/features/migration/MigrationManager.ts index da5ed7d6..e84d0b0d 100644 --- a/src/features/migration/MigrationManager.ts +++ b/src/features/migration/MigrationManager.ts @@ -956,8 +956,6 @@ export class MigrationManager { const draftEntry = draft.entries[mangaId]; if (draftEntry.searchMatches.length) { - draft.searchProgress.success += 1; - if (draftEntry.selectedMatchMangaId != null) { draftEntry.status = MigrationEntryStatus.SEARCH_COMPLETE; } else { @@ -967,6 +965,7 @@ export class MigrationManager { draftEntry.status = MigrationEntryStatus.NO_MATCH; } + draft.searchProgress.success += 1; draft.searchProgress.completed += 1; }); } catch (error) {