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