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

pull/904/head
Miroslav Šedivý 2019-10-24 13:10:34 +02:00 committed by Henrique Dias
parent d1efc14bb9
commit 076358ab79
1 changed files with 2 additions and 1 deletions

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')
}