mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
Merge branch 'fix-toastr' into 'master'
remove multiple toastr call See merge request mohit.panjvani/crater-web!640
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user