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); }