fix: item dragging on file listing

This commit is contained in:
Ramires Viana 2021-03-11 12:09:12 +00:00
parent 5bf15548d0
commit 326b35a7ac
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export default {
return this.readOnly == undefined && this.user.perm.rename
},
canDrop () {
if (!this.isDir || this.readOnly == undefined) return false
if (!this.isDir || this.readOnly !== undefined) return false
for (let i of this.selected) {
if (this.req.items[i].url === this.url) {