small fixes

This commit is contained in:
Forms Dev
2023-11-28 15:52:05 +05:30
parent 0a3a6092f6
commit 83d3eb6991
2 changed files with 2 additions and 2 deletions

View File

@@ -219,7 +219,7 @@ export default {
this.playConfetti()
}
}).catch((error) => {
if (error.response.data && error.response.data.message) {
if (error.response && error.response.data && error.response.data.message) {
this.alertError(error.response.data.message)
}
this.loading = false