aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-06 01:53:00 +0800
committerDan <danjm.com@gmail.com>2018-03-07 01:19:41 +0800
commit376ffb758fa6b6ea1fcfde1f2addf1c5a6070339 (patch)
tree000e45506a7dc29f915e7634bc8dbcb58ce0a2fc /ui/app/actions.js
parent5f8a632fec0e83b148e4e0b7fc95339fb870d804 (diff)
downloadtangerine-wallet-browser-376ffb758fa6b6ea1fcfde1f2addf1c5a6070339.tar
tangerine-wallet-browser-376ffb758fa6b6ea1fcfde1f2addf1c5a6070339.tar.gz
tangerine-wallet-browser-376ffb758fa6b6ea1fcfde1f2addf1c5a6070339.tar.bz2
tangerine-wallet-browser-376ffb758fa6b6ea1fcfde1f2addf1c5a6070339.tar.lz
tangerine-wallet-browser-376ffb758fa6b6ea1fcfde1f2addf1c5a6070339.tar.xz
tangerine-wallet-browser-376ffb758fa6b6ea1fcfde1f2addf1c5a6070339.tar.zst
tangerine-wallet-browser-376ffb758fa6b6ea1fcfde1f2addf1c5a6070339.zip
Shapeshift form handles market info unavailable errors.
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 4f902a6a2..8b1480a79 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -1498,6 +1498,7 @@ function pairUpdate (coin) {
dispatch(actions.hideWarning())
shapeShiftRequest('marketinfo', {pair: `${coin.toLowerCase()}_eth`}, (mktResponse) => {
dispatch(actions.hideSubLoadingIndication())
+ if (mktResponse.error) return dispatch(actions.displayWarning(mktResponse.error))
dispatch({
type: actions.PAIR_UPDATE,
value: {