mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -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)
|
window.toastr['error'](response.data.error)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (err.response.data.errors.name) {
|
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
window.toastr['error'](
|
|
||||||
this.$t('validation.payment_mode_already_taken')
|
|
||||||
)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user