Browse Source

Apply PR feedback

pull/326/head
Ivo Valchev 4 years ago
parent
commit
329306c961
  1. 5
      apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts

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

@ -45,6 +45,7 @@ export class AllocationsPageComponent implements OnDestroy, OnInit {
public symbols: { public symbols: {
[name: string]: { name: string; value: number }; [name: string]: { name: string; value: number };
}; };
public user: User; public user: User;
private unsubscribeSubject = new Subject<void>(); private unsubscribeSubject = new Subject<void>();
@ -110,13 +111,13 @@ export class AllocationsPageComponent implements OnDestroy, OnInit {
}; };
this.positions = {}; this.positions = {};
this.positionsArray = []; this.positionsArray = [];
this.symbols = { this.sectors = {
[UNKNOWN_KEY]: { [UNKNOWN_KEY]: {
name: UNKNOWN_KEY, name: UNKNOWN_KEY,
value: 0 value: 0
} }
}; };
this.sectors = { this.symbols = {
[UNKNOWN_KEY]: { [UNKNOWN_KEY]: {
name: UNKNOWN_KEY, name: UNKNOWN_KEY,
value: 0 value: 0

Loading…
Cancel
Save