Browse Source

fix code style

pull/326/head
Ivo Valchev 4 years ago
parent
commit
3d4d8e8769
  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

@ -147,7 +147,7 @@ export class AllocationsPageComponent implements OnDestroy, OnInit {
}; };
this.positionsArray.push(position); this.positionsArray.push(position);
if(this.symbols[symbol] === undefined) { if (this.symbols[symbol] === undefined) {
this.symbols[symbol] = { name: symbol, value: position.value }; this.symbols[symbol] = { name: symbol, value: position.value };
} else { } else {
this.symbols[symbol].value += position.value; this.symbols[symbol].value += position.value;

Loading…
Cancel
Save