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.
- package/dist/core/scheduling/index.js +1 -1
- package/dist/core/scheduling/index.js.map +1 -1
- package/dist/core/scheduling/index.mjs +1 -1
- package/dist/core/scheduling/index.mjs.map +1 -1
- package/dist/index.js +46 -69
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +46 -69
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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) ?? [];
|