mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
fix isLoading issue
This commit is contained in:
@ -313,7 +313,7 @@ export default {
|
|||||||
name: this.formData.name,
|
name: this.formData.name,
|
||||||
email: this.formData.email,
|
email: this.formData.email,
|
||||||
}
|
}
|
||||||
|
try {
|
||||||
if (
|
if (
|
||||||
this.formData.password != null &&
|
this.formData.password != null &&
|
||||||
this.formData.password !== undefined &&
|
this.formData.password !== undefined &&
|
||||||
@ -358,14 +358,11 @@ export default {
|
|||||||
|
|
||||||
this.formData.password = ''
|
this.formData.password = ''
|
||||||
this.formData.confirm_password = ''
|
this.formData.confirm_password = ''
|
||||||
|
}
|
||||||
|
} catch (error) {
|
||||||
|
this.isLoading = false
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
window.toastr['error'](response.data.error)
|
|
||||||
|
|
||||||
this.isLoading = false
|
|
||||||
|
|
||||||
return true
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user