mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-02 19:25:51 +00:00
Small UI fix for environments label
This commit is contained in:
+2
-2
@@ -490,7 +490,7 @@ const Form = ({
|
|||||||
name="environments"
|
name="environments"
|
||||||
render={({ field: { value, onChange }, fieldState: { error } }) => (
|
render={({ field: { value, onChange }, fieldState: { error } }) => (
|
||||||
<FormControl
|
<FormControl
|
||||||
label="Environment"
|
label="Environments"
|
||||||
isRequired
|
isRequired
|
||||||
isError={Boolean(error)}
|
isError={Boolean(error)}
|
||||||
errorText={error?.message}
|
errorText={error?.message}
|
||||||
@@ -500,7 +500,7 @@ const Form = ({
|
|||||||
value={value}
|
value={value}
|
||||||
isMulti
|
isMulti
|
||||||
onChange={onChange}
|
onChange={onChange}
|
||||||
placeholder="Select environment..."
|
placeholder="Select environments..."
|
||||||
options={availableEnvironments}
|
options={availableEnvironments}
|
||||||
getOptionValue={(option) => option.slug}
|
getOptionValue={(option) => option.slug}
|
||||||
getOptionLabel={(option) => option.name}
|
getOptionLabel={(option) => option.name}
|
||||||
|
|||||||
Reference in New Issue
Block a user