From 0eb736418ccbb6c59503ef25a3dad81b18c59b9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Tue, 30 Apr 2024 10:42:21 +0200 Subject: [PATCH] clean up --- .../src/packages/core/router/route.context.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/router/route.context.ts b/src/Umbraco.Web.UI.Client/src/packages/core/router/route.context.ts index 6c983e2ef5..f41ec2dad3 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/router/route.context.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/router/route.context.ts @@ -70,10 +70,8 @@ export class UmbRouteContext extends UmbContextBase { } #removeModalPath(info: IRoutingInfo) { - // Reset the URL to the routerBasePath + routerActiveLocalPath + // Reset the URL to the routerBasePath + routerActiveLocalPath [NL] const folderToRemove = info.match.fragments.consumed; - console.log('removeModalPath?', folderToRemove, info); - console.log('href', window.location.href); if (folderToRemove && window.location.href.includes(folderToRemove)) { window.history.pushState({}, '', this.#routerBasePath + '/' + this.#routerActiveLocalPath); }