aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-09-27 20:37:41 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-10-01 23:23:32 +0800
commit508a712479d847ba90428e65989455c6f67b727d (patch)
tree16c3dbb1ed23836d7e06de4ffdf8bf1ea43f7d58 /ui
parent23aabcca6fb3deb5009564f16ed3edd46061f449 (diff)
downloadtangerine-wallet-browser-508a712479d847ba90428e65989455c6f67b727d.tar
tangerine-wallet-browser-508a712479d847ba90428e65989455c6f67b727d.tar.gz
tangerine-wallet-browser-508a712479d847ba90428e65989455c6f67b727d.tar.bz2
tangerine-wallet-browser-508a712479d847ba90428e65989455c6f67b727d.tar.lz
tangerine-wallet-browser-508a712479d847ba90428e65989455c6f67b727d.tar.xz
tangerine-wallet-browser-508a712479d847ba90428e65989455c6f67b727d.tar.zst
tangerine-wallet-browser-508a712479d847ba90428e65989455c6f67b727d.zip
Allow sending transactions with hex data and no recipient
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/send/send-footer/send-footer.component.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/send/send-footer/send-footer.component.js b/ui/app/components/send/send-footer/send-footer.component.js
index 518cff06e..230bf450f 100644
--- a/ui/app/components/send/send-footer/send-footer.component.js
+++ b/ui/app/components/send/send-footer/send-footer.component.js
@@ -86,9 +86,9 @@ export default class SendFooter extends Component {
}
formShouldBeDisabled () {
- const { inError, selectedToken, tokenBalance, gasTotal, to } = this.props
+ const { data, inError, selectedToken, tokenBalance, gasTotal, to } = this.props
const missingTokenBalance = selectedToken && !tokenBalance
- return inError || !gasTotal || missingTokenBalance || !to
+ return inError || !gasTotal || missingTokenBalance || !(data || to)
}
render () {