Fix missing migration manual search title

This commit is contained in:
schroda
2026-05-18 22:02:13 +02:00
parent 65674a47ea
commit 8cecca2451
7 changed files with 24 additions and 32 deletions

View File

@@ -321,7 +321,7 @@ export class MigrationManager {
ReactRouter.navigate(
AppRoutes.migrate.childRoutes.singleMangaSearch.path(manga.sourceId, manga.id, manga.title),
{
state: { mangaTitle: manga.title },
state: { title: t`Migrate "${manga.title}"` },
},
);
@@ -645,6 +645,12 @@ export class MigrationManager {
});
}
static openManualSearch(mangaId: MangaIdInfo['id'], title: string): void {
ReactRouter.navigate(AppRoutes.migrate.childRoutes.manualSearch.path(mangaId, title), {
state: { title: t`Manual migration search for "${title}"` },
});
}
static getState(): MigrationState {
return migrationStore.getState();
}