Merge branch 'fix-toastr' into 'master'

remove multiple toastr call

See merge request mohit.panjvani/crater-web!640
This commit is contained in:
Mohit Panjwani
2020-12-08 09:07:12 +00:00

View File

@ -122,12 +122,7 @@ export default {
}
window.toastr['error'](response.data.error)
} catch (err) {
if (err.response.data.errors.name) {
this.isLoading = false
window.toastr['error'](
this.$t('validation.payment_mode_already_taken')
)
}
this.isLoading = false
}
}
},