diff options
Fix imageification of recipient
Diffstat (limited to 'ui/app/components/pending-tx-details.js')
-rw-r--r-- | ui/app/components/pending-tx-details.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/app/components/pending-tx-details.js b/ui/app/components/pending-tx-details.js index c9d3251e1..05409cf44 100644 --- a/ui/app/components/pending-tx-details.js +++ b/ui/app/components/pending-tx-details.js @@ -165,12 +165,13 @@ PTXP.miniAccountPanelForRecipient = function () { var txData = props.txData var txParams = txData.txParams || {} var isContractDeploy = !('to' in txParams) + var imageify = props.imageifyIdenticons === undefined ? true : props.imageifyIdenticons // If it's not a contract deploy, send to the account if (!isContractDeploy) { return h(MiniAccountPanel, { imageSeed: txParams.to, - imageifyIdenticons: props.imageifyIdenticons, + imageifyIdenticons: imageify, picOrder: 'left', }, [ h('span.font-small', { @@ -187,7 +188,7 @@ PTXP.miniAccountPanelForRecipient = function () { } else { return h(MiniAccountPanel, { - imageifyIdenticons: props.imageifyIdenticons, + imageifyIdenticons: imageify, picOrder: 'left', }, [ @@ -250,4 +251,4 @@ function forwardCarrat(imageify){ ) } -}
\ No newline at end of file +} |