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) { for (const symbol of symbols) {
result.push({ result.push({
date: today, date: today,
marketPrice: dataResultProvider?.[symbol]?.marketPrice ?? 0, marketPrice: this.exchangeRateDataService.toCurrency(
dataResultProvider?.[symbol]?.marketPrice ?? 0,
dataResultProvider?.[symbol]?.currency,
userCurrency
),
symbol: symbol symbol: symbol
}); });
} }

Loading…
Cancel
Save