aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pending-tx-details.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-07-12 15:12:44 +0800
committerkumavis <aaron@kumavis.me>2016-07-12 15:12:44 +0800
commit4cf83b582e9ed9c93d7590a42c6f908fe3fa969d (patch)
tree40bd08e3aa7c29067a752553d2e8447b4f318d78 /ui/app/components/pending-tx-details.js
parent791911d6f50a053cee0f8393249ec25da4a1ac77 (diff)
parent947665dca1ba01bca93024fa99c3397fcab6f686 (diff)
downloadtangerine-wallet-browser-4cf83b582e9ed9c93d7590a42c6f908fe3fa969d.tar
tangerine-wallet-browser-4cf83b582e9ed9c93d7590a42c6f908fe3fa969d.tar.gz
tangerine-wallet-browser-4cf83b582e9ed9c93d7590a42c6f908fe3fa969d.tar.bz2
tangerine-wallet-browser-4cf83b582e9ed9c93d7590a42c6f908fe3fa969d.tar.lz
tangerine-wallet-browser-4cf83b582e9ed9c93d7590a42c6f908fe3fa969d.tar.xz
tangerine-wallet-browser-4cf83b582e9ed9c93d7590a42c6f908fe3fa969d.tar.zst
tangerine-wallet-browser-4cf83b582e9ed9c93d7590a42c6f908fe3fa969d.zip
Merge branch 'master' of github.com:MetaMask/metamask-plugin into FixMenuBug
Diffstat (limited to 'ui/app/components/pending-tx-details.js')
-rw-r--r--ui/app/components/pending-tx-details.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/app/components/pending-tx-details.js b/ui/app/components/pending-tx-details.js
index c9d3251e1..9a06ad09e 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', {
@@ -184,10 +185,9 @@ PTXP.miniAccountPanelForRecipient = function () {
},
}, addressSummary(txParams.to, 6, 4, false)),
])
-
} else {
return h(MiniAccountPanel, {
- imageifyIdenticons: props.imageifyIdenticons,
+ imageifyIdenticons: imageify,
picOrder: 'left',
}, [
@@ -224,7 +224,7 @@ PTXP.warnIfNeeded = function () {
}
-function forwardCarrat(imageify){
+function forwardCarrat (imageify) {
if (imageify) {
return (
@@ -250,4 +250,4 @@ function forwardCarrat(imageify){
)
}
-} \ No newline at end of file
+}