Browse Source

Check link type

pull/1/head
Wahyu Ramadhan 1 year ago
parent
commit
9a016c2509
  1. 2
      edit-mode/function/function.js

2
edit-mode/function/function.js

@ -717,9 +717,11 @@ function updateLinksLag(data) {
let predecessor = data.data.find(item => item.id == link.source);
if (predecessor) {
let lag = gantt.calculateDuration(new Date(predecessor.end_date), new Date(task.start_date));
if (link.type == "0") {
link.lag = lag;
}
}
}
});
});
}

Loading…
Cancel
Save