some console errors fixed

This commit is contained in:
Burak Civan 2022-10-18 11:35:25 +03:00
parent 3faf578bd4
commit 7f4f376252
3 changed files with 11 additions and 7 deletions

View File

@ -50031,6 +50031,10 @@ body{
height: 16rem;
}
.lg\:h-auto{
height: auto;
}
.lg\:h-48{
height: 12rem;
}
@ -50047,10 +50051,6 @@ body{
height: 3rem;
}
.lg\:h-auto{
height: auto;
}
.lg\:w-9{
width: 2.25rem;
}

View File

@ -189,8 +189,10 @@ export default {
let el = this.$refs.dropdownMenu;
let target = event.target;
if (el !== target && ! el.contains(target)) {
this.isOpen = false;
if (typeof el != "undefined") {
if (el !== target && ! el.contains(target)) {
this.isOpen = false;
}
}
},
},

View File

@ -493,7 +493,9 @@ export default class Form {
// Form fields check validation issue
onFail(error) {
this.errors.record(error.response.data.errors);
if (typeof this.errors != "undefined") {
this.errors.record(error.response.data.errors);
}
this.loading = false;
}