Bugfix/fix click of unknown accounts (#1629)

* Check for unknown key

* Update changelog
This commit is contained in:
Thomas Kaul
2023-01-25 12:00:52 +01:00
committed by GitHub
parent 9cae5a3e79
commit efba7429c1
2 changed files with 5 additions and 1 deletions

View File

@@ -357,7 +357,7 @@ export class AllocationsPageComponent implements OnDestroy, OnInit {
}
public onAccountChartClicked({ symbol }: UniqueAsset) {
if (symbol) {
if (symbol && symbol !== UNKNOWN_KEY) {
this.router.navigate([], {
queryParams: { accountId: symbol, accountDetailDialog: true }
});