Skip to content

Commit

Permalink
update identity center account permission set select labels
Browse files Browse the repository at this point in the history
  • Loading branch information
flyinghermit committed Dec 17, 2024
1 parent 6018592 commit 6bcea1b
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 6bcea1b

Please sign in to comment.