From 5b85498ea4b07bda35a7650134442c1f8806d02f Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Mon, 2 Dec 2024 14:32:03 +0100 Subject: [PATCH] On mobile split create, redirect to split route instead of show page --- .../work-packages/routing/split-view-routes.template.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/features/work-packages/routing/split-view-routes.template.ts b/frontend/src/app/features/work-packages/routing/split-view-routes.template.ts index 83c9b26cb378..9b05b51e4761 100644 --- a/frontend/src/app/features/work-packages/routing/split-view-routes.template.ts +++ b/frontend/src/app/features/work-packages/routing/split-view-routes.template.ts @@ -117,7 +117,7 @@ export function makeSplitViewRoutes(baseRoute:string, // Remember the base route so we can route back to it anywhere baseRoute, parent: baseRoute, - mobileAlternative: showMobileAlternative ? 'work-packages.show' : undefined, + mobileAlternative: showMobileAlternative ? 'work-packages.new' : undefined, }, views: { // Retarget and by that override the grandparent views