From fbad973e99c9cc45c5f9b8464757b2348472942c Mon Sep 17 00:00:00 2001 From: konrad Date: Sun, 30 Jun 2019 12:38:09 +0200 Subject: [PATCH] Trying more checks and stuff --- src/components/tasks/gantt-component.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/tasks/gantt-component.vue b/src/components/tasks/gantt-component.vue index 2cfedf825..b7987e312 100644 --- a/src/components/tasks/gantt-component.vue +++ b/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