fix gross performance number type

pull/239/head
Valentin Zickner 3 years ago committed by Thomas
parent aabfb39e8f
commit 8a482e63b9

@ -206,7 +206,7 @@ export class PortfolioService {
.filter((timelineItem) => timelineItem !== null)
.map((timelineItem) => ({
date: timelineItem.date,
value: timelineItem.grossPerformance,
value: timelineItem.grossPerformance.toNumber(),
marketPrice: timelineItem.value
}));
}

Loading…
Cancel
Save