aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-04-05 05:19:38 +0800
committerGitHub <noreply@github.com>2018-04-05 05:19:38 +0800
commite1b1da9113e6d2d7adf0096bbfbbc4a807c07613 (patch)
treeff576431ca8363fc6a4099ccbf72cc20bbefa007 /ui/app/components
parent2e70610423000abf74e95c36342f1eec74bc606f (diff)
parent632a0db89b0f5f1563b9e0f3f36ea9ddcf2a6cb3 (diff)
downloadtangerine-wallet-browser-e1b1da9113e6d2d7adf0096bbfbbc4a807c07613.tar.gz
tangerine-wallet-browser-e1b1da9113e6d2d7adf0096bbfbbc4a807c07613.tar.zst
tangerine-wallet-browser-e1b1da9113e6d2d7adf0096bbfbbc4a807c07613.zip
Merge pull request #3878 from MetaMask/hot-fix-for-new-ui
Hot fix for new ui
Diffstat (limited to 'ui/app/components')
-rw-r--r--ui/app/components/pending-tx/confirm-send-ether.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/components/pending-tx/confirm-send-ether.js b/ui/app/components/pending-tx/confirm-send-ether.js
index d007e6661..7bf20bced 100644
--- a/ui/app/components/pending-tx/confirm-send-ether.js
+++ b/ui/app/components/pending-tx/confirm-send-ether.js
@@ -237,6 +237,7 @@ ConfirmSendEther.prototype.getData = function () {
const { identities } = this.props
const txMeta = this.gatherTxMeta()
const txParams = txMeta.txParams || {}
+ const account = identities ? identities[txParams.from] || {} : {}
const { FIAT: gasFeeInFIAT, ETH: gasFeeInETH, gasFeeInHex } = this.getGasFee()
const { FIAT: amountInFIAT, ETH: amountInETH } = this.getAmount()
@@ -252,7 +253,7 @@ ConfirmSendEther.prototype.getData = function () {
return {
from: {
address: txParams.from,
- name: identities[txParams.from].name,
+ name: account.name,
},
to: {
address: txParams.to,