Merge pull request #2674 from brkcvn/master

Some console error fixed
This commit is contained in:
Cüneyt Şentürk 2022-10-19 09:01:08 +03:00 committed by GitHub
commit 7636b8a022
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 7 deletions

8
public/css/app.css vendored
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;
}