diff --git a/public/react/src/modules/user/usersInfo/banks/NewGtaskForm.js b/public/react/src/modules/user/usersInfo/banks/NewGtaskForm.js index 3b18c7e70..8b4cc8dbb 100644 --- a/public/react/src/modules/user/usersInfo/banks/NewGtaskForm.js +++ b/public/react/src/modules/user/usersInfo/banks/NewGtaskForm.js @@ -137,6 +137,7 @@ class NewGtaskForms extends Component{ ).then((response) => { if(response.data.status===0){ this.props.showNotification(response.data.message) + this.props.onCancel() }else{ this.props.showNotification(response.data.message) }