aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index b6b5e684b..61f900df9 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -692,13 +692,14 @@ function shapeShiftSubview (network) {
}
}
-function coinShiftRquest (data) {
+function coinShiftRquest (data, marketData) {
return (dispatch) => {
dispatch(actions.showLoadingIndication())
shapeShiftRequest('shift', { method: 'POST', data}, (response) => {
if (response.error) return dispatch(actions.showWarning(response.error))
- var message = `Deposit your ${response.depositType} to the address bellow:`
- dispatch(actions.getQr(response.deposit, '125x125', message))
+ var message = `
+ Deposit your ${response.depositType} to the address bellow:`
+ dispatch(actions.getQr(response.deposit, '125x125', [message].concat(marketData)))
})
}
}