gantt-lib 0.64.0 → 0.64.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/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7180,7 +7180,8 @@ function GanttChartInner(props, ref) {
|
|
|
7180
7180
|
}
|
|
7181
7181
|
return;
|
|
7182
7182
|
}
|
|
7183
|
-
const
|
|
7183
|
+
const sourceTasks = tasks.map((task) => task.id === updatedTask.id ? updatedTask : task);
|
|
7184
|
+
const cascadedTasks = disableConstraints ? [updatedTask] : universalCascade(updatedTask, newStart, newEnd, sourceTasks, businessDays, isCustomWeekend);
|
|
7184
7185
|
onTasksChange?.(cascadedTasks);
|
|
7185
7186
|
}, [tasks, onTasksChange, disableConstraints, editingTaskId, businessDays, isCustomWeekend]);
|
|
7186
7187
|
const handleDelete = (0, import_react13.useCallback)((taskId) => {
|