Skip to content

Commit

Permalink
update identity center account permission set select labels (#50322)
Browse files Browse the repository at this point in the history
  • Loading branch information
flyinghermit authored Dec 17, 2024
1 parent cfbb91c commit b6e8602
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,13 @@ function RoleItemList({
);
});

let selectLabel = 'Select IAM Role';
let placeholder = 'Search IAM roles...';
if (isAwsIdentityCenterApp) {
selectLabel = 'Select Permission Sets';
placeholder = 'Search Permission Sets...';
}

return (
<Flex flexDirection="column">
<Text
Expand All @@ -153,15 +160,15 @@ function RoleItemList({
background: ${props => props.theme.colors.spotBackground[2]};
`}
>
Select IAM Role
{selectLabel}
</Text>
<StyledInput
p="2"
m="2"
type="text"
onChange={onChange}
autoFocus
placeholder={'Search IAM roles...'}
placeholder={placeholder}
autoComplete="off"
/>
<Box
Expand Down

0 comments on commit b6e8602

Please sign in to comment.