Browse Source

Trying more checks and stuff

swap-drag-lib
konrad 2 years ago
parent
commit
fbad973e99
Signed by untrusted user: konrad GPG Key ID: F40E70337AB24C9B
  1. 2
      src/components/tasks/gantt-component.vue

2
src/components/tasks/gantt-component.vue

@ -282,7 +282,7 @@
// before setDraggedTask.
// Once taskDragged is not empty, we run the actual code and cancel the timeout loop.
// This is pretty ugly...
if(this.taskDragged === null || typeof this.taskDragged === 'undefined') {
if(this.taskDragged === null || typeof this.taskDragged === 'undefined' || typeof this.taskDragged (undefined)) {
// eslint-disable-next-line
console.log('fckin js')
return

Loading…
Cancel
Save