diff --git a/app/javascript/vue/protocol/step.vue b/app/javascript/vue/protocol/step.vue index 630d1fc0a..ddde80b6d 100644 --- a/app/javascript/vue/protocol/step.vue +++ b/app/javascript/vue/protocol/step.vue @@ -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