Browse Source

Harmonize label for UNKNOWN_KEY

pull/885/head
Thomas 3 years ago
parent
commit
9bb569d385
  1. 2
      libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts

2
libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts

@ -349,7 +349,7 @@ export class PortfolioProportionChartComponent
if (symbol === this.OTHER_KEY) {
symbol = 'Other';
} else if (symbol === UNKNOWN_KEY) {
symbol = 'Unknown';
symbol = 'No data available';
}
const name = this.positions[<string>symbol]?.name;

Loading…
Cancel
Save