diff options
author | Frankie <frankie.pangilinan@consensys.net> | 2016-08-13 08:43:24 +0800 |
---|---|---|
committer | Frankie <frankie.pangilinan@consensys.net> | 2016-08-13 08:43:24 +0800 |
commit | 99a788a6f02ffcd53e88222ab0ba4b89d8040f4f (patch) | |
tree | 097fb582484f3c65cb152513167f1b6dbabb8bc6 /ui/app/components/shapeshift-form.js | |
parent | b72c00a6c15af9692cbaf46b89a19e5cef45f7b7 (diff) | |
download | tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.tar tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.tar.gz tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.tar.bz2 tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.tar.lz tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.tar.xz tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.tar.zst tangerine-wallet-browser-99a788a6f02ffcd53e88222ab0ba4b89d8040f4f.zip |
Add multi message capability to Qr view for market info
Diffstat (limited to 'ui/app/components/shapeshift-form.js')
-rw-r--r-- | ui/app/components/shapeshift-form.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ui/app/components/shapeshift-form.js b/ui/app/components/shapeshift-form.js index 52bacf798..48d220693 100644 --- a/ui/app/components/shapeshift-form.js +++ b/ui/app/components/shapeshift-form.js @@ -194,6 +194,7 @@ ShapeshiftForm.prototype.renderMain = function () { } ShapeshiftForm.prototype.shift = function () { + var props = this.props var withdrawal = this.props.buyView.buyAddress var returnAddress = document.getElementById('fromCoinAddress').value var pair = this.props.buyView.formView.marketinfo.pair @@ -202,9 +203,12 @@ ShapeshiftForm.prototype.shift = function () { 'pair': pair, 'returnAddress': returnAddress, } - + var message = [ + `Deposit Limit: ${props.buyView.formView.marketinfo.limit}`, + `Deposit Minimum:${props.buyView.formView.marketinfo.minimum}`, + ] if (isValidAddress(withdrawal)) { - this.props.dispatch(actions.coinShiftRquest(data)) + this.props.dispatch(actions.coinShiftRquest(data, message)) } } |