gantt-lib 0.131.0 → 0.131.1
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-CZ_2i1CO.d.mts → index-5SEBp7fs.d.mts} +5 -3
- package/dist/{index-CZ_2i1CO.d.ts → index-5SEBp7fs.d.ts} +5 -3
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1333,7 +1333,7 @@ function resizeTaskWithCascade(taskId, anchor, newDate, snapshot, options) {
|
|
|
1333
1333
|
const originalStart = parseDateOnly(task.startDate);
|
|
1334
1334
|
const originalEnd = parseDateOnly(task.endDate);
|
|
1335
1335
|
let newRange;
|
|
1336
|
-
if (anchor === "
|
|
1336
|
+
if (anchor === "start") {
|
|
1337
1337
|
newRange = { start: originalStart, end: newDate };
|
|
1338
1338
|
} else {
|
|
1339
1339
|
newRange = { start: newDate, end: originalEnd };
|