Browse Source

feat: add else if

pull/3938/head
vitalymatyushik 10 months ago
committed by Thomas Kaul
parent
commit
a82bb71796
  1. 4
      libs/ui/src/lib/treemap-chart/treemap-chart.component.ts

4
libs/ui/src/lib/treemap-chart/treemap-chart.component.ts

@ -149,9 +149,7 @@ export class GfTreemapChartComponent
annualizedNetPerformancePercentWithCurrencyEffect annualizedNetPerformancePercentWithCurrencyEffect
); );
return gray[3]; return gray[3];
} } else if (annualizedNetPerformancePercentWithCurrencyEffect > 0) {
if (annualizedNetPerformancePercentWithCurrencyEffect > 0) {
const range = const range =
positiveNetPerformancePercentsRange.max - positiveNetPerformancePercentsRange.max -
positiveNetPerformancePercentsRange.min; positiveNetPerformancePercentsRange.min;

Loading…
Cancel
Save