From 329306c96174e47562d35549d282a4fffcea3bae Mon Sep 17 00:00:00 2001 From: Ivo Valchev Date: Wed, 1 Sep 2021 17:55:43 +0200 Subject: [PATCH] Apply PR feedback --- .../portfolio/allocations/allocations-page.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 5f523c5df..fa24af7ff 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 @@ -45,6 +45,7 @@ export class AllocationsPageComponent implements OnDestroy, OnInit { public symbols: { [name: string]: { name: string; value: number }; }; + public user: User; private unsubscribeSubject = new Subject(); @@ -110,13 +111,13 @@ export class AllocationsPageComponent implements OnDestroy, OnInit { }; this.positions = {}; this.positionsArray = []; - this.symbols = { + this.sectors = { [UNKNOWN_KEY]: { name: UNKNOWN_KEY, value: 0 } }; - this.sectors = { + this.symbols = { [UNKNOWN_KEY]: { name: UNKNOWN_KEY, value: 0