process approvals on the frontend

This commit is contained in:
Fred KISSIE
2026-01-14 03:31:49 +01:00
parent bc20a34a49
commit 0c5daa7173
5 changed files with 107 additions and 36 deletions

View File

@@ -317,7 +317,7 @@ export const approvalFiltersSchema = z.object({
approvalState: z
.enum(["pending", "approved", "denied", "all"])
.optional()
.catch("pending")
.catch("all")
});
export const approvalQueries = {