From 736910598e5f80969abcbc9fd58c2c2d0fa1a083 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Thu, 8 Feb 2024 14:09:31 +0100 Subject: [PATCH] more comment --- src/Umbraco.Web.UI.Client/src/shared/router/route.context.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/shared/router/route.context.ts b/src/Umbraco.Web.UI.Client/src/shared/router/route.context.ts index d5a118c0a3..00ed0028b8 100644 --- a/src/Umbraco.Web.UI.Client/src/shared/router/route.context.ts +++ b/src/Umbraco.Web.UI.Client/src/shared/router/route.context.ts @@ -72,7 +72,7 @@ export class UmbRouteContext extends UmbBaseController { } #removeModalPath(info: IRoutingInfo) { - // Reset the URL to the routerBasePath + // Reset the URL to the routerBasePath + routerActiveLocalPath const folderToRemove = info.match.match.input; if (folderToRemove && window.location.href.includes(folderToRemove)) { window.history.pushState({}, '', this.#routerBasePath + '/' + this.#routerActiveLocalPath);