Fix : currency_code in ExchangeRate

This commit is contained in:
elforjani3
2020-11-02 14:56:08 +02:00
parent ad66f35162
commit 9a38559b98

View File

@@ -89,7 +89,10 @@ function ExchangeRateTable({
id: 'exchange_rate',
Header: formatMessage({ id: 'exchange_rate' }),
accessor: (r) => (
<MoneyExchangeRate amount={r.exchange_rate} currency={'USD'} />
<MoneyExchangeRate
amount={r.exchange_rate}
currency={r.currency_code}
/>
),
className: 'exchange_rate',
width: 150,