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