mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-25 22:36:38 +00:00
make default filter in approvals be pending
This commit is contained in:
@@ -326,8 +326,8 @@ export const resourceQueries = {
|
||||
export const approvalFiltersSchema = z.object({
|
||||
approvalState: z
|
||||
.enum(["pending", "approved", "denied", "all"])
|
||||
.optional()
|
||||
.catch("all")
|
||||
.default("pending")
|
||||
.catch("pending")
|
||||
});
|
||||
|
||||
export type ApprovalItem = {
|
||||
|
||||
Reference in New Issue
Block a user