From d0be5e8e296333977d615af9e7832a5a90b3256b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Thu, 6 Jul 2023 12:34:21 +0200 Subject: [PATCH] minor change --- .../workspace-is-new-redirect-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/workspace/workspace-is-new-redirect-controller/workspace-is-new-redirect-controller.ts b/src/Umbraco.Web.UI.Client/src/packages/core/workspace/workspace-is-new-redirect-controller/workspace-is-new-redirect-controller.ts index d7330f6324..5fb08c86f2 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/workspace/workspace-is-new-redirect-controller/workspace-is-new-redirect-controller.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/workspace/workspace-is-new-redirect-controller/workspace-is-new-redirect-controller.ts @@ -30,7 +30,7 @@ export class UmbWorkspaceIsNewRedirectController extends UmbBaseController { if (router && id) { const routerPath = router.absoluteRouterPath; if (routerPath) { - const newPath = createRoutePathBuilder(ensurePathEndsWithSlash(basePath) + 'edit/:id')({ id }); + const newPath = createRoutePathBuilder(ensurePathEndsWithSlash(routerPath) + 'edit/:id')({ id }); window.history.pushState({}, '', newPath); this.destroy();