Skip to content

Commit 3ae6fac

Browse files
author
Feroze Mohideen
authored
change copy (#4351)
1 parent ced8b2d commit 3ae6fac

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

dashboard/src/main/home/infrastructure-dashboard/forms/aws/GrantAWSPermissions.tsx

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,21 @@ const GrantAWSPermissions: React.FC<Props> = ({
307307
</Link>
308308
</Text>
309309
<Spacer y={1} />
310-
<CheckItem
311-
preflightCheck={{
312-
title: "AWS account accessible",
313-
status: isAccountAccessible ? "success" : "pending",
314-
}}
315-
/>
310+
{isAccountAccessible ? (
311+
<CheckItem
312+
preflightCheck={{
313+
title: "AWS account is accessible by Porter!",
314+
status: "success",
315+
}}
316+
/>
317+
) : (
318+
<CheckItem
319+
preflightCheck={{
320+
title: "Checking if AWS account is accessible by Porter",
321+
status: "pending",
322+
}}
323+
/>
324+
)}
316325
<Spacer y={1} />
317326
<Container row>
318327
<Button

0 commit comments

Comments
 (0)