improvement: update casing for relay/gateway select inputs

This commit is contained in:
Scott Wilson
2025-11-21 15:44:02 -08:00
parent 27a848a296
commit 5f38751d5a
6 changed files with 6 additions and 6 deletions
@@ -82,7 +82,7 @@ export const OrgIdentityLinkForm = ({ onClose }: Props) => {
<FilterableSelect <FilterableSelect
value={value} value={value}
onChange={onChange} onChange={onChange}
placeholder="select machine identity..." placeholder="Select machine identity..."
// onInputChange={setSearchValue} // onInputChange={setSearchValue}
options={rootOrgIdentities} options={rootOrgIdentities}
getOptionValue={(option) => option.id} getOptionValue={(option) => option.id}
@@ -290,7 +290,7 @@ export const GatewayCliDeploymentMethod = () => {
) )
} }
isLoading={isIdentitiesLoading} isLoading={isIdentitiesLoading}
placeholder="select machine identity..." placeholder="Select machine identity..."
options={identityMembershipOrgs.map((membership) => membership.identity)} options={identityMembershipOrgs.map((membership) => membership.identity)}
getOptionValue={(option) => option.id} getOptionValue={(option) => option.id}
getOptionLabel={(option) => option.name} getOptionLabel={(option) => option.name}
@@ -312,7 +312,7 @@ export const GatewayCliSystemdDeploymentMethod = () => {
) )
} }
isLoading={isIdentitiesLoading} isLoading={isIdentitiesLoading}
placeholder="select machine identity..." placeholder="Select machine identity..."
options={identityMembershipOrgs.map((membership) => membership.identity)} options={identityMembershipOrgs.map((membership) => membership.identity)}
getOptionValue={(option) => option.id} getOptionValue={(option) => option.id}
getOptionLabel={(option) => option.name} getOptionLabel={(option) => option.name}
@@ -244,7 +244,7 @@ export const RelayCliDeploymentMethod = () => {
) )
} }
isLoading={isIdentitiesLoading} isLoading={isIdentitiesLoading}
placeholder="select machine identity..." placeholder="Select machine identity..."
options={identityMembershipOrgs.map((membership) => membership.identity)} options={identityMembershipOrgs.map((membership) => membership.identity)}
getOptionValue={(option) => option.id} getOptionValue={(option) => option.id}
getOptionLabel={(option) => option.name} getOptionLabel={(option) => option.name}
@@ -285,7 +285,7 @@ export const RelayCliSystemdDeploymentMethod = () => {
) )
} }
isLoading={isIdentitiesLoading} isLoading={isIdentitiesLoading}
placeholder="select machine identity..." placeholder="Select machine identity..."
options={identityMembershipOrgs.map((membership) => membership.identity)} options={identityMembershipOrgs.map((membership) => membership.identity)}
getOptionValue={(option) => option.id} getOptionValue={(option) => option.id}
getOptionLabel={(option) => option.name} getOptionLabel={(option) => option.name}
@@ -364,7 +364,7 @@ resource "aws_eip_association" "eip_assoc" {
) )
} }
isLoading={isIdentitiesLoading} isLoading={isIdentitiesLoading}
placeholder="select machine identity..." placeholder="Select machine identity..."
options={identityMembershipOrgs.map((membership) => membership.identity)} options={identityMembershipOrgs.map((membership) => membership.identity)}
getOptionValue={(option) => option.id} getOptionValue={(option) => option.id}
getOptionLabel={(option) => option.name} getOptionLabel={(option) => option.name}