From 66e079f1c7118e0d2ba4f194b76a7756bf783795 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Mon, 11 Jul 2016 15:49:13 -0700 Subject: Fix imageification of recipient --- ui/app/components/pending-tx-details.js | 7 ++++--- 1 file 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 +} -- cgit v1.2.3