Fix tx selecting bug

feature/default_network_editable
Dan Finlay 8 years ago
parent 1dfcc54381
commit 5cc934f18c
  1. 1
      ui/app/components/pending-tx.js
  2. 4
      ui/app/conf-tx.js

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

@ -43,8 +43,8 @@ ConfirmTxScreen.prototype.render = function () {
unapprovedMsgs, unapprovedPersonalMsgs } = props unapprovedMsgs, unapprovedPersonalMsgs } = props
var unconfTxList = txHelper(unapprovedTxs, unapprovedMsgs, unapprovedPersonalMsgs, network) 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 txParams = txData.params || {}
var isNotification = isPopupOrNotification() === 'notification' var isNotification = isPopupOrNotification() === 'notification'

Loading…
Cancel
Save