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 c975cc45b..8696d6ac2 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 @@ -420,9 +420,6 @@ export class AllocationsPageComponent implements OnDestroy, OnInit { this.markets.emergingMarkets.value / marketsTotal; this.markets.otherMarkets.value = this.markets.otherMarkets.value / marketsTotal; - - console.log(this.positions); - console.log(this.symbols); } public onAccountChartClicked({ symbol }: UniqueAsset) { diff --git a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts index dbdaeb85e..ec0a63eea 100644 --- a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts +++ b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts @@ -137,7 +137,7 @@ export class PortfolioProportionChartComponent this.positions[symbol][this.keys[0]].toUpperCase() ].subCategory = { [this.positions[symbol][this.keys[1]]]: { - value: new Big(this.positions[symbol]?.value ?? 0) + value: new Big(this.positions[symbol].value) } }; }