diff options
Fix disclaimer approving action
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r-- | ui/app/actions.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js index 4a1460040..e178d2340 100644 --- a/ui/app/actions.js +++ b/ui/app/actions.js @@ -318,7 +318,8 @@ function showInitializeMenu() { function agreeToDisclaimer() { return (dispatch) => { dispatch(this.showLoadingIndication()) - _accountManager.agreeToDisclaimer((err) { + _accountManager.agreeToDisclaimer((err) => { + dispatch(this.hideLoadingIndication()) dispatch({ type: this.AGREE_TO_DISCLAIMER, }) |