Attempt to copy file on dropping it to deck

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2021-01-05 10:33:51 +01:00
parent 7f311de6e1
commit 03d71b32c6

View File

@@ -109,6 +109,7 @@ export default {
}, },
methods: { methods: {
handleDropFiles(event) { handleDropFiles(event) {
event.dataTransfer.dropEffect = 'copy'
this.isDraggingOver = false this.isDraggingOver = false
if (this.isReadOnly) { if (this.isReadOnly) {
return return