Improve backup install missing extension routing

Only opened the "browse" page instead of routing to the "extension" tab of the "browse" page
This commit is contained in:
schroda
2025-07-23 01:12:13 +02:00
parent cc4ab2e0dd
commit 39d34af9bc
5 changed files with 19 additions and 16 deletions

View File

@@ -10,6 +10,7 @@ import { SourceType } from '@/lib/graphql/generated/graphql.ts';
import { MangaIdInfo } from '@/modules/manga/Manga.types.ts';
import { ChapterSourceOrderInfo } from '@/modules/chapter/Chapter.types.ts';
import { BrowseTab } from '@/modules/browse/Browse.types.ts';
type AppRouteInfo = {
match: string;
@@ -166,7 +167,7 @@ export const AppRoutes = {
},
browse: {
match: 'browse',
path: '/browse',
path: (tab?: BrowseTab) => addParams('/browse', createParam('tab', tab)),
},
migrate: {
match: 'migrate/source/:sourceId',