diff options
author | Dan Finlay <dan@danfinlay.com> | 2017-03-25 03:50:39 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2017-03-25 03:50:39 +0800 |
commit | 5cc934f18ccb64d97f6046ecb1adee5860b3b3fa (patch) | |
tree | 143808305f91ece6492a630d9b7bfccc6d30668b | |
parent | 1dfcc5438151fb8be6e28477e624d2abe20b7c42 (diff) | |
download | tangerine-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
-rw-r--r-- | ui/app/components/pending-tx.js | 1 | ||||
-rw-r--r-- | ui/app/conf-tx.js | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/components/pending-tx.js b/ui/app/components/pending-tx.js index bd3ec6377..5bb088af9 100644 --- a/ui/app/components/pending-tx.js +++ b/ui/app/components/pending-tx.js @@ -472,3 +472,4 @@ function forwardCarrat () { ) } + 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' |