Browse Source

Merge pull request 'staging' (#27) from staging into master

Reviewed-on: ordo/adw-gantt#27
pull/1/head
ibnu 1 year ago
parent
commit
7dc4e051e2
  1. 2
      edit-mode/function/function.js

2
edit-mode/function/function.js

@ -717,7 +717,7 @@ 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") {
if (link.type == "0" && isBaselineSet) {
link.lag = lag;
}
}

Loading…
Cancel
Save