mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
Merge branch 'dashboard-refactor' into 'master'
toastr refactor See merge request mohit.panjvani/crater-web!55
This commit is contained in:
@ -635,7 +635,7 @@ export default {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if (response.data.error === 'user_email_does_not_exist') {
|
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
|
return true
|
||||||
}
|
}
|
||||||
window.toastr['error'](this.$tc('estimates.something_went_wrong'))
|
window.toastr['error'](this.$tc('estimates.something_went_wrong'))
|
||||||
|
|||||||
@ -595,7 +595,7 @@ export default {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if (response.data.error === 'user_email_does_not_exist') {
|
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
|
return true
|
||||||
}
|
}
|
||||||
window.toastr['error'](this.$tc('estimates.something_went_wrong'))
|
window.toastr['error'](this.$tc('estimates.something_went_wrong'))
|
||||||
|
|||||||
@ -265,7 +265,7 @@ export default {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if (response.data.error === 'user_email_does_not_exist') {
|
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
|
return true
|
||||||
}
|
}
|
||||||
window.toastr['error'](this.$tc('estimates.something_went_wrong'))
|
window.toastr['error'](this.$tc('estimates.something_went_wrong'))
|
||||||
|
|||||||
6
resources/assets/sass/base.scss
vendored
6
resources/assets/sass/base.scss
vendored
@ -116,6 +116,12 @@ code, .code {
|
|||||||
height: 70px !important;
|
height: 70px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.custom-control-input:checked ~ .custom-control-label::before {
|
||||||
|
color: #fff;
|
||||||
|
border-color: $ls-color-primary !important;
|
||||||
|
background-color: $ls-color-primary !important;
|
||||||
|
}
|
||||||
|
|
||||||
.avatar-cropper-btn:hover {
|
.avatar-cropper-btn:hover {
|
||||||
background-color: $ls-color-primary !important;
|
background-color: $ls-color-primary !important;
|
||||||
color: $white;
|
color: $white;
|
||||||
|
|||||||
Reference in New Issue
Block a user