diff --git a/web/packages/teleport/src/Integrations/status/AwsOidc/AwsOidcDashboard.tsx b/web/packages/teleport/src/Integrations/status/AwsOidc/AwsOidcDashboard.tsx index 45779ea05ed70..98f5faa122bd4 100644 --- a/web/packages/teleport/src/Integrations/status/AwsOidc/AwsOidcDashboard.tsx +++ b/web/packages/teleport/src/Integrations/status/AwsOidc/AwsOidcDashboard.tsx @@ -28,7 +28,7 @@ export function AwsOidcDashboard() { return ( - + {attempt.data && } Status for integration type aws-oidc is not supported ); diff --git a/web/packages/teleport/src/Integrations/status/AwsOidc/AwsOidcHeader.tsx b/web/packages/teleport/src/Integrations/status/AwsOidc/AwsOidcHeader.tsx index 136e3ee354e09..8d95d16a691c4 100644 --- a/web/packages/teleport/src/Integrations/status/AwsOidc/AwsOidcHeader.tsx +++ b/web/packages/teleport/src/Integrations/status/AwsOidc/AwsOidcHeader.tsx @@ -27,11 +27,7 @@ import cfg from 'teleport/config'; import { getStatusAndLabel } from 'teleport/Integrations/helpers'; import { Integration } from 'teleport/services/integrations'; -export function AwsOidcHeader({ - integration, -}: { - integration: Integration | null; -}) { +export function AwsOidcHeader({ integration }: { integration: Integration }) { const { status, labelKind } = getStatusAndLabel(integration); return ( @@ -45,7 +41,7 @@ export function AwsOidcHeader({ - {integration?.name} + {integration.name}