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:26:11 +00:00
co-authored by renee-png
parent 7d0ccce811
commit 53cf41d0fd
+2 -1
View File
@@ -331,12 +331,13 @@ export interface CaseLite {
id: string;
case_number: string;
title: string;
client_id: string | null;
}
export async function fetchAccessibleCases(): Promise<CaseLite[]> {
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);