delete keyup only if no active prompt

This commit is contained in:
Miroslav Šedivý 2019-10-22 19:39:45 +02:00
parent cdba1d0c52
commit a6f077eb8c

View File

@ -176,7 +176,8 @@ export default {
!this.isFiles || !this.isFiles ||
this.loading || this.loading ||
!this.user.perm.delete || !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') this.$store.commit('showHover', 'delete')
} }