From a6f077eb8caf4c0643d86fd0f0613cb3c8a6ca14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Tue, 22 Oct 2019 19:39:45 +0200 Subject: [PATCH] delete keyup only if no active prompt --- frontend/src/views/Files.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/Files.vue b/frontend/src/views/Files.vue index afd04e41..e937cd83 100644 --- a/frontend/src/views/Files.vue +++ b/frontend/src/views/Files.vue @@ -176,7 +176,8 @@ export default { !this.isFiles || this.loading || !this.user.perm.delete || - (this.isListing && this.selectedCount === 0)) return + (this.isListing && this.selectedCount === 0) || + this.$store.state.show != null) return this.$store.commit('showHover', 'delete') }