Browse Source

Check for unknown key

pull/1629/head
Thomas 3 years ago
parent
commit
9f0d9148be
  1. 2
      apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts

2
apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts

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

Loading…
Cancel
Save