@outbuild-company/schedule-core 1.13.4 → 1.13.5

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.cjs CHANGED
@@ -14867,6 +14867,7 @@ async function dispatchActivitySetProgress(action, options, deps) {
14867
14867
  changes.postProcessors ?? [],
14868
14868
  adapter
14869
14869
  );
14870
+ const autoscheduleFrom = changes.needsAutoSchedule ? ctx.hierarchy.hasChildren(action.activityId) ? AUTOSCHEDULE_SCOPE.ROOTS : action.activityId : null;
14870
14871
  const { scheduledIds } = await runPostMutation(
14871
14872
  {
14872
14873
  adapter,
@@ -14876,7 +14877,7 @@ async function dispatchActivitySetProgress(action, options, deps) {
14876
14877
  },
14877
14878
  {
14878
14879
  action,
14879
- autoscheduleFrom: changes.needsAutoSchedule ? action.activityId : null,
14880
+ autoscheduleFrom,
14880
14881
  recomputeParentsFrom: [],
14881
14882
  collectDirty: (sids) => collectDirtyForInlineEdit(action.activityId, touchedIds, sids),
14882
14883
  now: deps.now,