fix: delete keyup only if no active prompt (#896)

This commit is contained in:
Miroslav Šedivý authored and Henrique Dias committed 2019-10-24 12:10:34 +01:00
1 parent d1efc14bb9
commit 076358ab79
1 file changed
+2 -1
+2 -1
View File
@@ -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')
}