gantt-lib 0.130.0 → 0.131.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -774,7 +774,7 @@ function universalCascade(movedTask, newStart, newEnd, allTasks, businessDays =
774
774
  }
775
775
  }
776
776
  const parentId = currentOriginal.parentId;
777
- if (parentId) {
777
+ if (parentId && parentId !== movedTask.id) {
778
778
  const parent = taskById.get(parentId);
779
779
  if (parent && !parent.locked) {
780
780
  const siblings = childrenByParentId.get(parentId) ?? [];