Merge pull request #4379 from aignatov-bio/ai-sci-7123-fix-drag-n-drop-on-step

Fix step drag/drop file [SCI-7123]
This commit is contained in:
aignatov-bio 2022-08-23 18:08:56 +02:00 committed by GitHub
commit 3f10aa979b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -254,7 +254,7 @@
},
methods: {
dragEnter(e) {
if (this.showFileModal || !urls.upload_attachment_url) return;
if (this.showFileModal || !this.urls.upload_attachment_url) return;
// Detect if dragged element is a file
// https://stackoverflow.com/a/8494918