Skip to content

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍

Bugfix/improve redirection on logout (#558)

Thomas Kaul955302666e8f
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 596c07ee62..8e0d3f953e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added a line chart to the historical data view in the admin control panel
- Supported the update of historical data in the admin control panel
+### Fixed
+
+- Improved the redirection on logout
+
## 1.91.0 - 18.12.2021
### Changed
diff --git a/apps/client/src/app/app.component.ts b/apps/client/src/app/app.component.ts
index aeec70e6b2..aeb996b9d3 100644
--- a/apps/client/src/app/app.component.ts
+++ b/apps/client/src/app/app.component.ts
@@ -89,7 +89,7 @@ export class AppComponent implements OnDestroy, OnInit {
this.tokenStorageService.signOut();
this.userService.remove();
- window.location.reload();
+ this.router.navigate(['/']);
}
public ngOnDestroy() {