From 16ba70992ec1d38e8c0b74fba2ef147cd02c0e2e Mon Sep 17 00:00:00 2001 From: flyinghermit Date: Mon, 16 Dec 2024 19:51:11 -0500 Subject: [PATCH] update identity center account permission set select labels --- .../components/AwsLaunchButton/AwsLaunchButton.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/web/packages/shared/components/AwsLaunchButton/AwsLaunchButton.tsx b/web/packages/shared/components/AwsLaunchButton/AwsLaunchButton.tsx index 1bb9d7bc85627..c49eacbca3850 100644 --- a/web/packages/shared/components/AwsLaunchButton/AwsLaunchButton.tsx +++ b/web/packages/shared/components/AwsLaunchButton/AwsLaunchButton.tsx @@ -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 ( props.theme.colors.spotBackground[2]}; `} > - Select IAM Role + {selectLabel}