From fe5ca74aa1e4257e5cb36f1de58daa0c3548319f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=AD=E3=82=89=E3=81=B2=E3=81=8B=E3=81=A0?= Date: Fri, 9 Feb 2024 19:05:35 +0900 Subject: [PATCH] fix: fix lint warnings (#2976) --- frontend/src/components/files/ListingItem.vue | 7 ++++++- frontend/src/components/prompts/Copy.vue | 4 ++-- frontend/src/components/prompts/Info.vue | 7 +++---- frontend/src/components/prompts/Move.vue | 4 ++-- 4 files changed, 13 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/files/ListingItem.vue b/frontend/src/components/files/ListingItem.vue index 944ad9b1..f7733b87 100644 --- a/frontend/src/components/files/ListingItem.vue +++ b/frontend/src/components/files/ListingItem.vue @@ -191,7 +191,12 @@ export default { action(overwrite, rename); }, itemClick: function (event) { - if (!(event.ctrlKey || event.metaKey) && this.singleClick && !this.$store.state.multiple) this.open(); + if ( + !(event.ctrlKey || event.metaKey) && + this.singleClick && + !this.$store.state.multiple + ) + this.open(); else this.click(event); }, click: function (event) { diff --git a/frontend/src/components/prompts/Copy.vue b/frontend/src/components/prompts/Copy.vue index 46166108..6e3d6805 100644 --- a/frontend/src/components/prompts/Copy.vue +++ b/frontend/src/components/prompts/Copy.vue @@ -12,7 +12,7 @@