From 2f3f1290e50fb3e605254644592c0e6362ba64da Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Sat, 16 May 2026 23:09:10 +0200 Subject: [PATCH] Update migration search success counter without found match It does not matter if a match was found or not. As long as a single source search succeeds, the search progress success counter needs to be increased --- src/features/migration/MigrationManager.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) {