aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/transaction-list-item/transaction-list-item.component.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-08-06 13:25:58 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-08-24 07:45:27 +0800
commit33a94332e48b280fcf4c9fb23aa4d349eaa8a54d (patch)
treed90d6c353334211a07cd2c552e0c5a890e88e694 /ui/app/components/transaction-list-item/transaction-list-item.component.js
parent13c4ecd6101e57b9184b14f4e0136206843f51eb (diff)
downloadtangerine-wallet-browser-33a94332e48b280fcf4c9fb23aa4d349eaa8a54d.tar.gz
tangerine-wallet-browser-33a94332e48b280fcf4c9fb23aa4d349eaa8a54d.tar.zst
tangerine-wallet-browser-33a94332e48b280fcf4c9fb23aa4d349eaa8a54d.zip
Show token amounts in TransactionListItem for token transfers
Diffstat (limited to 'ui/app/components/transaction-list-item/transaction-list-item.component.js')
-rw-r--r--ui/app/components/transaction-list-item/transaction-list-item.component.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/transaction-list-item/transaction-list-item.component.js b/ui/app/components/transaction-list-item/transaction-list-item.component.js
index bf3f09d28..d4b1bec94 100644
--- a/ui/app/components/transaction-list-item/transaction-list-item.component.js
+++ b/ui/app/components/transaction-list-item/transaction-list-item.component.js
@@ -69,7 +69,7 @@ export default class TransactionListItem extends PureComponent {
const nonceAndDateText = `#${nonce} - ${formatDate(transaction.time)}`
const fiatDisplayText = `-${fiatDisplayValue}`
- const ethDisplayText = `-${ethTransactionAmount} ETH`
+ const ethDisplayText = ethTransactionAmount && `-${ethTransactionAmount} ETH`
return (
<div