mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Requested changes
This commit is contained in:
@@ -226,15 +226,15 @@ export const AdminDashboardPage = () => {
|
||||
dropdownContainerClassName="bg-mineshaft-800"
|
||||
defaultValue={field.value ?? " "}
|
||||
onValueChange={(e) => {
|
||||
if (e === " ") {
|
||||
onChange(null);
|
||||
} else {
|
||||
onChange(e);
|
||||
if (e === "EMPTY") {
|
||||
onChange("");
|
||||
return;
|
||||
}
|
||||
onChange(e);
|
||||
}}
|
||||
{...field}
|
||||
>
|
||||
<SelectItem value=" ">Select organization...</SelectItem>
|
||||
<SelectItem value="EMPTY">Select organization...</SelectItem>
|
||||
{organizations.data?.map((org) => (
|
||||
<SelectItem key={org.id} value={org.id}>
|
||||
{org.name}
|
||||
|
||||
Reference in New Issue
Block a user