From 9f0d9148be0aa252149805e70b92247dd0aa59ae Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Sun, 22 Jan 2023 10:06:03 +0100 Subject: [PATCH] Check for unknown key --- .../pages/portfolio/allocations/allocations-page.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts b/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts index 910629a3e..0dd32bf68 100644 --- a/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts +++ b/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) { - if (symbol) { + if (symbol && symbol !== UNKNOWN_KEY) { this.router.navigate([], { queryParams: { accountId: symbol, accountDetailDialog: true } });