aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/send-v2.js
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2018-04-28 09:21:12 +0800
committerGitHub <noreply@github.com>2018-04-28 09:21:12 +0800
commit141884ee6ad55da98f5a0752b76e55238ddc5c5d (patch)
tree317bd7b99278d06e8d2ed6708e9b75ac273b7290 /ui/app/send-v2.js
parent2b9925a9e4d5a1495c8ccf4a265a179eca7868ad (diff)
parent9f9e8789cc707fa3c53d64edeb2d51e84defcbc6 (diff)
downloadtangerine-wallet-browser-141884ee6ad55da98f5a0752b76e55238ddc5c5d.tar.gz
tangerine-wallet-browser-141884ee6ad55da98f5a0752b76e55238ddc5c5d.tar.zst
tangerine-wallet-browser-141884ee6ad55da98f5a0752b76e55238ddc5c5d.zip
Merge pull request #4113 from MetaMask/i4107-send-tokens-without-symbols-decimal-methods
Wraps calls to symbol() and decimals() in try catch (Fixes #4107)
Diffstat (limited to 'ui/app/send-v2.js')
-rw-r--r--ui/app/send-v2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js
index 30d3d3152..bd00b186e 100644
--- a/ui/app/send-v2.js
+++ b/ui/app/send-v2.js
@@ -493,7 +493,7 @@ SendTransactionScreen.prototype.renderFooter = function () {
history,
} = this.props
- const missingTokenBalance = selectedToken && !tokenBalance
+ const missingTokenBalance = selectedToken && (tokenBalance === null || tokenBalance === undefined)
const noErrors = !amountError && toError === null
return h('div.page-container__footer', [