Browse Source

fix gross performance number type

pull/239/head
Valentin Zickner 4 years ago
committed by Thomas
parent
commit
8a482e63b9
  1. 2
      apps/api/src/app/portfolio/portfolio.service.ts

2
apps/api/src/app/portfolio/portfolio.service.ts

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

Loading…
Cancel
Save