fix isLoading issue

This commit is contained in:
spvarma
2020-12-11 14:23:04 +05:30
parent 2bd01c4014
commit ea98f03aeb

View File

@ -313,7 +313,7 @@ export default {
name: this.formData.name,
email: this.formData.email,
}
try {
if (
this.formData.password != null &&
this.formData.password !== undefined &&
@ -358,14 +358,11 @@ export default {
this.formData.password = ''
this.formData.confirm_password = ''
}
} catch (error) {
this.isLoading = false
return true
}
window.toastr['error'](response.data.error)
this.isLoading = false
return true
},
},
}