fix: item dragging on file listing

pull/1321/head
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 return this.readOnly == undefined && this.user.perm.rename
}, },
canDrop () { canDrop () {
if (!this.isDir || this.readOnly == undefined) return false if (!this.isDir || this.readOnly !== undefined) return false
for (let i of this.selected) { for (let i of this.selected) {
if (this.req.items[i].url === this.url) { if (this.req.items[i].url === this.url) {