diff --git a/resources/assets/js/views/dashboard/Dashboard.vue b/resources/assets/js/views/dashboard/Dashboard.vue index caf7889c..7c4eae6b 100644 --- a/resources/assets/js/views/dashboard/Dashboard.vue +++ b/resources/assets/js/views/dashboard/Dashboard.vue @@ -635,7 +635,7 @@ export default { return true } if (response.data.error === 'user_email_does_not_exist') { - window.toastr['success'](this.$tc('estimates.user_email_does_not_exist')) + window.toastr['error'](this.$tc('estimates.user_email_does_not_exist')) return true } window.toastr['error'](this.$tc('estimates.something_went_wrong')) diff --git a/resources/assets/js/views/estimates/Index.vue b/resources/assets/js/views/estimates/Index.vue index 904cd3df..2ca0cd1d 100644 --- a/resources/assets/js/views/estimates/Index.vue +++ b/resources/assets/js/views/estimates/Index.vue @@ -595,7 +595,7 @@ export default { return true } if (response.data.error === 'user_email_does_not_exist') { - window.toastr['success'](this.$tc('estimates.user_email_does_not_exist')) + window.toastr['error'](this.$tc('estimates.user_email_does_not_exist')) return true } window.toastr['error'](this.$tc('estimates.something_went_wrong')) diff --git a/resources/assets/js/views/estimates/View.vue b/resources/assets/js/views/estimates/View.vue index 9d74e0c5..de92043a 100644 --- a/resources/assets/js/views/estimates/View.vue +++ b/resources/assets/js/views/estimates/View.vue @@ -265,7 +265,7 @@ export default { return true } if (response.data.error === 'user_email_does_not_exist') { - window.toastr['success'](this.$tc('estimates.user_email_does_not_exist')) + window.toastr['error'](this.$tc('estimates.user_email_does_not_exist')) return true } window.toastr['error'](this.$tc('estimates.something_went_wrong'))