diff --git a/packages/router/src/router.ts b/packages/router/src/router.ts index 3261f1efec..45312f8a68 100644 --- a/packages/router/src/router.ts +++ b/packages/router/src/router.ts @@ -401,7 +401,7 @@ export class Router { this.resetConfig(config); this.currentUrlTree = createEmptyUrlTree(); this.rawUrlTree = this.currentUrlTree; - this.browserUrlTree = this.parseUrl(this.location.path()); + this.browserUrlTree = this.currentUrlTree; this.configLoader = new RouterConfigLoader(loader, compiler, onLoadStart, onLoadEnd); this.routerState = createEmptyState(this.currentUrlTree, this.rootComponentType);