Fix missing currency conversion

pull/239/head
Thomas 3 years ago
parent 21570cca19
commit a3a98c68a5

@ -80,7 +80,11 @@ export class CurrentRateService {
for (const symbol of symbols) {
result.push({
date: today,
marketPrice: dataResultProvider?.[symbol]?.marketPrice ?? 0,
marketPrice: this.exchangeRateDataService.toCurrency(
dataResultProvider?.[symbol]?.marketPrice ?? 0,
dataResultProvider?.[symbol]?.currency,
userCurrency
),
symbol: symbol
});
}

Loading…
Cancel
Save