mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-09 19:28:33 +00:00
fix dropdown value issue
This commit is contained in:
+2
-2
@@ -256,7 +256,7 @@ export const GitHubConnectionForm = ({ appConnection }: Props) => {
|
|||||||
<div>
|
<div>
|
||||||
<Select
|
<Select
|
||||||
isDisabled={!isAllowed}
|
isDisabled={!isAllowed}
|
||||||
value={value as string}
|
value={value || (null as unknown as string)}
|
||||||
onValueChange={onChange}
|
onValueChange={onChange}
|
||||||
className="w-full border border-mineshaft-500"
|
className="w-full border border-mineshaft-500"
|
||||||
dropdownContainerClassName="max-w-none"
|
dropdownContainerClassName="max-w-none"
|
||||||
@@ -266,7 +266,7 @@ export const GitHubConnectionForm = ({ appConnection }: Props) => {
|
|||||||
>
|
>
|
||||||
<SelectItem
|
<SelectItem
|
||||||
value={null as unknown as string}
|
value={null as unknown as string}
|
||||||
onClick={() => onChange(undefined)}
|
onClick={() => onChange(null)}
|
||||||
>
|
>
|
||||||
Internet Gateway
|
Internet Gateway
|
||||||
</SelectItem>
|
</SelectItem>
|
||||||
|
|||||||
Reference in New Issue
Block a user