From d4a39b2b456cc641178aa1e622adc44f31f90446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 5 Jan 2021 10:37:05 +0100 Subject: [PATCH] Fix uploading files by drag and drop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/components/AttachmentDragAndDrop.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AttachmentDragAndDrop.vue b/src/components/AttachmentDragAndDrop.vue index f8f7c52db..faed0317e 100644 --- a/src/components/AttachmentDragAndDrop.vue +++ b/src/components/AttachmentDragAndDrop.vue @@ -115,7 +115,7 @@ export default { } const files = event.dataTransfer.files for (const file of files) { - this.onLocalAttachmentSelected(file) + this.onLocalAttachmentSelected(file, 'file') } event.dataTransfer.value = '' },