Skip to content

Commit

Permalink
fix: replace in navigate (onecx#372)
Browse files Browse the repository at this point in the history
* fix: replace in navigate

* misc: bumped libs
  • Loading branch information
BenjaminPabst authored Oct 25, 2024
1 parent 596495f commit 1f82174
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 56 deletions.
88 changes: 44 additions & 44 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@
"@angular/router": "^18.2.6",
"@ngx-translate/core": "^15.0.0",
"@nx/angular": "19.8.2",
"@onecx/accelerator": "^5.20.0",
"@onecx/angular-accelerator": "^5.20.0",
"@onecx/angular-auth": "^5.20.0",
"@onecx/angular-integration-interface": "^5.20.0",
"@onecx/angular-remote-components": "^5.20.0",
"@onecx/angular-webcomponents": "^5.20.0",
"@onecx/integration-interface": "^5.20.0",
"@onecx/keycloak-auth": "^5.20.0",
"@onecx/portal-integration-angular": "^5.20.0",
"@onecx/portal-layout-styles": "^5.20.0",
"@onecx/shell-core": "^5.20.0",
"@onecx/accelerator": "^5.20.1",
"@onecx/angular-accelerator": "^5.20.1",
"@onecx/angular-auth": "^5.20.1",
"@onecx/angular-integration-interface": "^5.20.1",
"@onecx/angular-remote-components": "^5.20.1",
"@onecx/angular-webcomponents": "^5.20.1",
"@onecx/integration-interface": "^5.20.1",
"@onecx/keycloak-auth": "^5.20.1",
"@onecx/portal-integration-angular": "^5.20.1",
"@onecx/portal-layout-styles": "^5.20.1",
"@onecx/shell-core": "^5.20.1",
"@openapitools/openapi-generator-cli": "^2.13.9",
"keycloak-angular": "^16.0.1",
"keycloak-js": "^25.0.6",
Expand Down
4 changes: 3 additions & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ export function urlChangeListenerInitializer(router: Router, appStateService: Ap
if (routerUrl !== lastUrl) {
lastUrl = routerUrl
if (!isFirstRoute) {
router.navigateByUrl(routerUrl)
router.navigateByUrl(routerUrl, {
replaceUrl: true
})
} else {
isFirstRoute = false
}
Expand Down

0 comments on commit 1f82174

Please sign in to comment.