From 13ee92909cce93b37eec2092757e4aab174a970e Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Fri, 3 Feb 2017 20:45:20 -0800 Subject: Mostly got shapeshift tx management into its own controller Rendering the list is still having issues, so this isn't done yet. --- ui/app/actions.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/app/actions.js b/ui/app/actions.js index c153a55a6..0c6e40552 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -843,6 +843,7 @@ function coinShiftRquest (data, marketData) { return (dispatch) => { dispatch(actions.showLoadingIndication()) shapeShiftRequest('shift', { method: 'POST', data}, (response) => { + dispatch(actions.hideLoadingIndication()) if (response.error) return dispatch(actions.displayWarning(response.error)) var message = ` Deposit your ${response.depositType} to the address bellow:` @@ -933,4 +934,4 @@ function forceUpdateMetamaskState(dispatch){ } dispatch(actions.updateMetamaskState(newState)) }) -} \ No newline at end of file +} -- cgit v1.2.3