Reviewed-on: ordo/adw-gantt#26
@ -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;
}