aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components/DragAndDropNotice.vue
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2024-01-16 12:10:27 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2024-01-17 16:23:31 +0100
commit3f77b543e3ee55177f87ca845d31bb7d2776d467 (patch)
treeb9863c1dceacbd5dedbdc5ae49888cc1e8d2b669 /apps/files/src/components/DragAndDropNotice.vue
parent5de3028f667afb807d1c682238340208e56d6b91 (diff)
downloadnextcloud-server-3f77b543e3ee55177f87ca845d31bb7d2776d467.tar.gz
nextcloud-server-3f77b543e3ee55177f87ca845d31bb7d2776d467.zip
fix(files): prevent dragging previews and appear as an external files DnD
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/src/components/DragAndDropNotice.vue')
-rw-r--r--apps/files/src/components/DragAndDropNotice.vue2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/files/src/components/DragAndDropNotice.vue b/apps/files/src/components/DragAndDropNotice.vue
index df03713601d..22de0f662de 100644
--- a/apps/files/src/components/DragAndDropNotice.vue
+++ b/apps/files/src/components/DragAndDropNotice.vue
@@ -115,8 +115,6 @@ export default defineComponent({
event.preventDefault()
const isForeignFile = event.dataTransfer?.types.includes('Files')
-
- logger.debug('Drag over DragAndDropNotice', { isForeignFile, event })
if (isForeignFile) {
// Only handle uploading of outside files (not Nextcloud files)
this.dragover = true