diff --git a/src/lib/forms-shared.ts b/src/lib/forms-shared.ts index 2749753..6c7400b 100644 --- a/src/lib/forms-shared.ts +++ b/src/lib/forms-shared.ts @@ -331,12 +331,13 @@ export interface CaseLite { id: string; case_number: string; title: string; + client_id: string | null; } export async function fetchAccessibleCases(): Promise { const { data } = await supabase .from("cases") - .select("id,case_number,title") + .select("id,case_number,title,client_id") .is("archived_at", null) .order("opened_at", { ascending: false }) .limit(500);