diff --git a/frontend/src/components/files/ListingItem.vue b/frontend/src/components/files/ListingItem.vue index 5e945be7..ccd3cd32 100644 --- a/frontend/src/components/files/ListingItem.vue +++ b/frontend/src/components/files/ListingItem.vue @@ -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) {