Raise project list limit to 5000 for admin dialogs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-02 23:11:43 +01:00
parent fd5e5222da
commit a3f12ed5de
4 changed files with 4 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ export function AdvanceProjectsDialog({
// Fetch projects in current round
const { data: projectsData, isLoading } = trpc.project.list.useQuery(
{ roundId, page: 1, perPage: 200 },
{ roundId, page: 1, perPage: 5000 },
{ enabled: open }
)

View File

@@ -67,7 +67,7 @@ export function AssignProjectsDialog({
notInRoundId: roundId,
search: debouncedSearch || undefined,
page: 1,
perPage: 100,
perPage: 5000,
},
{ enabled: open }
)

View File

@@ -61,7 +61,7 @@ export function RemoveProjectsDialog({
}, [open])
const { data, isLoading } = trpc.project.list.useQuery(
{ roundId, page: 1, perPage: 200 },
{ roundId, page: 1, perPage: 5000 },
{ enabled: open }
)