Merge pull request #511 from esteemapp/bugfix/#496

Fixed #496
This commit is contained in:
uğur erdal 2019-01-30 10:48:11 +03:00 committed by GitHub
commit 1f686bd849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,6 +54,7 @@ class TransactionView extends PureComponent {
{transactions
&& transactions.map((item, index) => {
const transactionData = groomingTransactionData(item, steemPerMVests, formatNumber);
const value = transactionData.value.split(' ');
return (
<CollapsibleCard
@ -75,9 +76,9 @@ class TransactionView extends PureComponent {
isBlackText
iconName={transactionData.icon}
iconType="MaterialIcons"
rightText={transactionData.value}
rightText={`${Math.round(value[0] * 1000) / 1000} ${value[1]}`}
/>
)}
)}
>
{(!!transactionData.details || !!transactionData.memo) && (
<WalletLineItem