mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 23:28:45 +00:00
fix type errors
This commit is contained in:
+3
-3
@@ -65,7 +65,7 @@ const formSchema = z
|
||||
.object({
|
||||
type: z.literal(ApproverType.User),
|
||||
id: z.string(),
|
||||
isOrgMembershipActive: z.boolean().optional().nullable()
|
||||
isOrgMembershipActive: z.boolean().optional()
|
||||
})
|
||||
.array()
|
||||
.default([]),
|
||||
@@ -77,7 +77,7 @@ const formSchema = z
|
||||
.object({
|
||||
type: z.literal(BypasserType.User),
|
||||
id: z.string(),
|
||||
isOrgMembershipActive: z.boolean().optional().nullable()
|
||||
isOrgMembershipActive: z.boolean().optional()
|
||||
})
|
||||
.array()
|
||||
.default([]),
|
||||
@@ -94,7 +94,7 @@ const formSchema = z
|
||||
.object({
|
||||
type: z.literal(ApproverType.User),
|
||||
id: z.string(),
|
||||
isOrgMembershipActive: z.boolean().optional().nullable()
|
||||
isOrgMembershipActive: z.boolean().optional()
|
||||
})
|
||||
.array()
|
||||
.default([]),
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ export const PolicyMemberOption = ({
|
||||
...props
|
||||
}: OptionProps<{
|
||||
id: string;
|
||||
isOrgMembershipActive: boolean;
|
||||
isOrgMembershipActive?: boolean;
|
||||
type: ApproverType;
|
||||
}>) => {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user