gantt-lib 0.129.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.d.mts +1 -1
- package/dist/core/scheduling/index.d.ts +1 -1
- 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-CIFbOgGc.d.mts → index-CZ_2i1CO.d.mts} +2 -0
- package/dist/{index-CIFbOgGc.d.ts → index-CZ_2i1CO.d.ts} +2 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +51 -72
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +51 -72
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -701,7 +701,7 @@ function universalCascade(movedTask, newStart, newEnd, allTasks, businessDays =
|
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
703
|
const parentId = currentOriginal.parentId;
|
|
704
|
-
if (parentId) {
|
|
704
|
+
if (parentId && parentId !== movedTask.id) {
|
|
705
705
|
const parent = taskById.get(parentId);
|
|
706
706
|
if (parent && !parent.locked) {
|
|
707
707
|
const siblings = childrenByParentId.get(parentId) ?? [];
|