aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/conf-tx.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-03-25 03:50:39 +0800
committerDan Finlay <dan@danfinlay.com>2017-03-25 03:50:39 +0800
commit5cc934f18ccb64d97f6046ecb1adee5860b3b3fa (patch)
tree143808305f91ece6492a630d9b7bfccc6d30668b /ui/app/conf-tx.js
parent1dfcc5438151fb8be6e28477e624d2abe20b7c42 (diff)
downloadtangerine-wallet-browser-5cc934f18ccb64d97f6046ecb1adee5860b3b3fa.tar
tangerine-wallet-browser-5cc934f18ccb64d97f6046ecb1adee5860b3b3fa.tar.gz
tangerine-wallet-browser-5cc934f18ccb64d97f6046ecb1adee5860b3b3fa.tar.bz2
tangerine-wallet-browser-5cc934f18ccb64d97f6046ecb1adee5860b3b3fa.tar.lz
tangerine-wallet-browser-5cc934f18ccb64d97f6046ecb1adee5860b3b3fa.tar.xz
tangerine-wallet-browser-5cc934f18ccb64d97f6046ecb1adee5860b3b3fa.tar.zst
tangerine-wallet-browser-5cc934f18ccb64d97f6046ecb1adee5860b3b3fa.zip
Fix tx selecting bug
Diffstat (limited to 'ui/app/conf-tx.js')
-rw-r--r--ui/app/conf-tx.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/conf-tx.js b/ui/app/conf-tx.js
index 83e2c7482..54c171a8a 100644
--- a/ui/app/conf-tx.js
+++ b/ui/app/conf-tx.js
@@ -43,8 +43,8 @@ ConfirmTxScreen.prototype.render = function () {
unapprovedMsgs, unapprovedPersonalMsgs } = props
var unconfTxList = txHelper(unapprovedTxs, unapprovedMsgs, unapprovedPersonalMsgs, network)
- var index = props.index !== undefined && unconfTxList[index] ? props.index : 0
- var txData = unconfTxList[index] || {}
+
+ var txData = unconfTxList[props.index] || {}
var txParams = txData.params || {}
var isNotification = isPopupOrNotification() === 'notification'