1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix tx selecting bug

This commit is contained in:
Dan Finlay 2017-03-24 12:50:39 -07:00
parent 1dfcc54381
commit 5cc934f18c
2 changed files with 3 additions and 2 deletions

View File

@ -472,3 +472,4 @@ function forwardCarrat () {
)
}

View File

@ -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'