Fix selecting migration destination from source browse search page

When going to the source search from the global search, the manga card mode wasn't passed, which prevented a manga from getting selected as the migration destination

#1110
This commit is contained in:
schroda
2026-05-27 22:28:28 +02:00
parent 27c87185b1
commit 278ebb312f
9 changed files with 54 additions and 25 deletions

View File

@@ -323,6 +323,7 @@ export class MigrationManager {
{
state: AppRoutes.migrate.children.singleMangaSearch.state({
title: t`Migrate "${manga.title}"`,
mode: 'migrate.select.single',
}),
},
);

View File

@@ -164,7 +164,7 @@ export const MigrationSelectMangas = () => {
return (
<>
<BaseMangaGrid
mode="migrate.select"
mode="migrate.select.bulk"
hasNextPage={false}
loadMore={noOp}
isLoading={areMangasLoading}