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; height: 16rem;
} }
.lg\:h-auto{
height: auto;
}
.lg\:h-48{ .lg\:h-48{
height: 12rem; height: 12rem;
} }
@ -50047,10 +50051,6 @@ body{
height: 3rem; height: 3rem;
} }
.lg\:h-auto{
height: auto;
}
.lg\:w-9{ .lg\:w-9{
width: 2.25rem; width: 2.25rem;
} }

View File

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

View File

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