diff options
author | Frankie <frankie.diamond@gmail.com> | 2017-01-12 08:27:05 +0800 |
---|---|---|
committer | Frankie <frankie.diamond@gmail.com> | 2017-01-12 09:02:57 +0800 |
commit | 34081c8cb2635bba0d6dd8a93d381f6554faa861 (patch) | |
tree | 5ef0cefddce1f7a2da0affec9b46f2b744610f0c /ui/app/components/pending-tx-details.js | |
parent | f9efb0817d884fee22817c9a622e6583ef08e5da (diff) | |
download | tangerine-wallet-browser-34081c8cb2635bba0d6dd8a93d381f6554faa861.tar tangerine-wallet-browser-34081c8cb2635bba0d6dd8a93d381f6554faa861.tar.gz tangerine-wallet-browser-34081c8cb2635bba0d6dd8a93d381f6554faa861.tar.bz2 tangerine-wallet-browser-34081c8cb2635bba0d6dd8a93d381f6554faa861.tar.lz tangerine-wallet-browser-34081c8cb2635bba0d6dd8a93d381f6554faa861.tar.xz tangerine-wallet-browser-34081c8cb2635bba0d6dd8a93d381f6554faa861.tar.zst tangerine-wallet-browser-34081c8cb2635bba0d6dd8a93d381f6554faa861.zip |
Fix sorting and instances where something could be undefined
Diffstat (limited to 'ui/app/components/pending-tx-details.js')
-rw-r--r-- | ui/app/components/pending-tx-details.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/pending-tx-details.js b/ui/app/components/pending-tx-details.js index c40cd01b1..286931f6f 100644 --- a/ui/app/components/pending-tx-details.js +++ b/ui/app/components/pending-tx-details.js @@ -27,8 +27,8 @@ PTXP.render = function () { var account = props.accounts[address] var balance = account ? account.balance : '0x0' - var txFee = txData.txFee - var maxCost = txData.maxCost + var txFee = txData.txFee || '' + var maxCost = txData.maxCost || '' var dataLength = txParams.data ? (txParams.data.length - 2) / 2 : 0 var imageify = props.imageifyIdenticons === undefined ? true : props.imageifyIdenticons |