Fixed bugs

This commit is contained in:
Daniel Hougaard
2024-04-04 21:12:05 -07:00
parent 1f789110e3
commit 01e7ed23ba
2 changed files with 2 additions and 1 deletions

View File

@@ -177,6 +177,7 @@ export const AccessPolicyForm = ({
/> />
<Controller <Controller
control={control}
name="secretPath" name="secretPath"
render={({ field, fieldState: { error } }) => ( render={({ field, fieldState: { error } }) => (
<FormControl label="Secret Path" isError={Boolean(error)} errorText={error?.message}> <FormControl label="Secret Path" isError={Boolean(error)} errorText={error?.message}>
@@ -186,8 +187,8 @@ export const AccessPolicyForm = ({
/> />
<Controller <Controller
name="approvers"
control={control} control={control}
name="approvers"
render={({ field: { value, onChange }, fieldState: { error } }) => ( render={({ field: { value, onChange }, fieldState: { error } }) => (
<FormControl <FormControl
label="Approvers Required" label="Approvers Required"