aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-07-12 06:49:13 +0800
committerDan Finlay <dan@danfinlay.com>2016-07-12 06:49:13 +0800
commit66e079f1c7118e0d2ba4f194b76a7756bf783795 (patch)
tree4914108b588c2fe211446eb0b55a6336000a427c
parent3274bb78d7698a2d1e48986c9ebab91e4d48e721 (diff)
downloadtangerine-wallet-browser-66e079f1c7118e0d2ba4f194b76a7756bf783795.tar
tangerine-wallet-browser-66e079f1c7118e0d2ba4f194b76a7756bf783795.tar.gz
tangerine-wallet-browser-66e079f1c7118e0d2ba4f194b76a7756bf783795.tar.bz2
tangerine-wallet-browser-66e079f1c7118e0d2ba4f194b76a7756bf783795.tar.lz
tangerine-wallet-browser-66e079f1c7118e0d2ba4f194b76a7756bf783795.tar.xz
tangerine-wallet-browser-66e079f1c7118e0d2ba4f194b76a7756bf783795.tar.zst
tangerine-wallet-browser-66e079f1c7118e0d2ba4f194b76a7756bf783795.zip
Fix imageification of recipient
-rw-r--r--ui/app/components/pending-tx-details.js7
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
+}