Merge pull request #1100 from esteemapp/bugfix/transaction

Fixed wrong text data for transactions
This commit is contained in:
Feruz M 2019-08-28 09:34:12 +03:00 committed by GitHub
commit 04730478c0
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ class TransactionView extends PureComponent {
isBlackText
iconName={transactionData.icon}
iconType="MaterialIcons"
rightText={`${Math.round(value[0] * 1000) / 1000} ${value[1]}`}
rightText={transactionData.value.trim()}
/>
}
>

View File

@ -51,7 +51,7 @@ export const groomingTransactionData = (transaction, steemPerMVests, formatNumbe
}).replace(',', '.');
result.value = `${sbdPayout > 0 ? `${sbdPayout} SBD` : ''} ${
steemPayout > 0 ? `${steemPayout} steemPayout` : ''
steemPayout > 0 ? `${steemPayout} STEEM` : ''
} ${vestingPayout > 0 ? `${vestingPayout} SP` : ''}`;
result.details = author && permlink ? `@${author}/${permlink}` : null;