Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-19 00:03:30 +00:00
co-authored by renee-png
parent 6d2e33c44f
commit d9273a1ace
2 changed files with 2 additions and 1 deletions
@@ -50,6 +50,7 @@ export function ApplyCollectionWorkflowDialog({
supabase
.from("workflow_templates")
.select("id, name")
.eq("kind", "collection")
.order("name")
.then(({ data }) => setTemplates((data ?? []) as Template[]));
setTemplateId(null);
@@ -61,7 +61,7 @@ export function ApplyWorkflowPickerDialog({
setCaseId(null);
setStartDate(new Date());
Promise.all([
supabase.from("workflow_templates").select("id, name").order("name"),
supabase.from("workflow_templates").select("id, name").eq("kind", "task").order("name"),
supabase
.from("cases")
.select("id, case_number, title")