diff --git a/web/features/deployments/detail/access-tab/developer-api-section.tsx b/web/features/deployments/detail/access-tab/developer-api-section.tsx index 72f38e9e06..dc22afa8f7 100644 --- a/web/features/deployments/detail/access-tab/developer-api-section.tsx +++ b/web/features/deployments/detail/access-tab/developer-api-section.tsx @@ -103,19 +103,14 @@ export function DeveloperApiSection({ ) : (
- {apiKeys.map((apiKey) => { - const environmentId = apiKey.environmentId ?? apiKey.environment?.id - if (!apiKey.id || !environmentId) - return null - return ( - - ) - })} + {apiKeys.map(apiKey => ( + + ))}
)} diff --git a/web/features/deployments/list/index.tsx b/web/features/deployments/list/index.tsx index 865079aca9..4483cd92e3 100644 --- a/web/features/deployments/list/index.tsx +++ b/web/features/deployments/list/index.tsx @@ -76,14 +76,12 @@ function DeploymentsList() {
- {apps.map(app => app.id - ? ( - - ) - : null)} + {apps.map(app => ( + + ))}