feat(platform): harden access scoping and delivery baseline
This commit is contained in:
@@ -316,7 +316,7 @@ function ResourcePersonPicker({ value, onChange }: { value: string; onChange: (v
|
||||
}, [query]);
|
||||
|
||||
// Server-side search — no client-side limit, searches full database
|
||||
const { data } = trpc.resource.list.useQuery(
|
||||
const { data } = trpc.resource.directory.useQuery(
|
||||
{ isActive: true, search: debouncedSearch || undefined, limit: 30 },
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
{ staleTime: 15_000, placeholderData: (prev: any) => prev },
|
||||
|
||||
Reference in New Issue
Block a user