Fix lint errors

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr
2022-11-03 18:25:48 +01:00
parent 7a23f3b0d2
commit 723fb807da

View File

@@ -37,8 +37,8 @@ export default {
closeSidebar() {
this.$router.push({ name: 'board' })
},
onClickOutside(e) {
if (Array.from(document.querySelectorAll('.card')).some(node => node.contains(e.target))) {
onClickOutside(e) {
if (Array.from(document.querySelectorAll('.card')).some(node => node.contains(e.target))) {
return
}
this.closeSidebar()