Correct method for new file/directory

Former-commit-id: ba718c759c20ea2fc0b6e443d410a026cdf731e7 [formerly 27ca216e8773da64bd81251d138661d95707bee6] [formerly 2dea38f7a513d75504ca881936853986892fb7ca [formerly d0e7631bc8]]
Former-commit-id: 92ef66d89f03a418479dfff7c8c1e0aca46318f6 [formerly 05be2809de4e8c28616feb41385135a21ce78420]
Former-commit-id: 39f3711265d5e945c0c7c6a88c80ad8603a1aa77
This commit is contained in:
Henrique Dias
2017-07-04 21:02:46 +01:00
parent 8a71ad00fd
commit d5cd86da97
6 changed files with 54 additions and 9 deletions

View File

@@ -202,7 +202,7 @@ export default {
// Del!
if (event.keyCode === 46) {
if (this.showDeleteButton()) {
if (this.showDeleteButton) {
this.$store.commit('showHover', 'delete')
}
}
@@ -215,7 +215,7 @@ export default {
// F2!
if (event.keyCode === 113) {
if (this.showRenameButton()) {
if (this.showRenameButton) {
this.$store.commit('showHover', 'rename')
}
}