Changes
Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
co-authored by
renee-png
parent
2aafeb6d6b
commit
b9fdd33dbc
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user