From 326b35a7ac7871afcdf892ca150349665b7f6379 Mon Sep 17 00:00:00 2001 From: Ramires Viana <59319979+ramiresviana@users.noreply.github.com> Date: Thu, 11 Mar 2021 12:09:12 +0000 Subject: [PATCH] fix: item dragging on file listing --- frontend/src/components/files/ListingItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {