aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/conf-tx.js
diff options
context:
space:
mode:
authorFrankie <frankie.diamond@gmail.com>2017-01-12 08:27:05 +0800
committerFrankie <frankie.diamond@gmail.com>2017-01-12 09:02:57 +0800
commit34081c8cb2635bba0d6dd8a93d381f6554faa861 (patch)
tree5ef0cefddce1f7a2da0affec9b46f2b744610f0c /ui/app/conf-tx.js
parentf9efb0817d884fee22817c9a622e6583ef08e5da (diff)
downloadtangerine-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/conf-tx.js')
-rw-r--r--ui/app/conf-tx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js
index 79699965b..2c5ba5618 100644
--- a/ui/app/conf-tx.js
+++ b/ui/app/conf-tx.js
@@ -43,7 +43,7 @@ ConfirmTxScreen.prototype.render = function () {
var unconfMsgs = state.unconfMsgs
var unconfTxList = txHelper(unconfTxs, unconfMsgs, network)
var index = state.index !== undefined ? state.index : 0
- var txData = unconfTxList[index] || unconfTxList[0] || {}
+ var txData = unconfTxList[index] || unconfTxList[0] || {txParams: {}}
var txParams = txData.txParams || {}
var isNotification = isPopupOrNotification() === 'notification'
return (