Browse Source
Bugfix/improve redirection on logout (#558)
* Improve redirection on logout
* Update changelog
pull/559/head
Thomas Kaul
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
1 deletions
-
CHANGELOG.md
-
apps/client/src/app/app.component.ts
|
|
@ -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 |
|
|
|
|
|
@ -89,7 +89,7 @@ export class AppComponent implements OnDestroy, OnInit { |
|
|
|
this.tokenStorageService.signOut(); |
|
|
|
this.userService.remove(); |
|
|
|
|
|
|
|
window.location.reload(); |
|
|
|
this.router.navigate(['/']); |
|
|
|
} |
|
|
|
|
|
|
|
public ngOnDestroy() { |
|
|
|