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