Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 23:43:06 +00:00
co-authored by renee-png
parent 2aafeb6d6b
commit b9fdd33dbc
+4
View File
@@ -95,6 +95,10 @@ export function CaseTasksTab({ caseId }: { caseId: string }) {
completed_at: checked ? (new Date().toISOString() as any) : null,
})
.eq("id", t.id);
if (checked) {
// Spawn the next task in the workflow chain (if any)
await spawnNextWorkflowTask(t.id);
}
};
const today = startOfDay(new Date());