RepositoryOverview: Always display recent jobs (#113249)

* RepositoryOverview: always display recent jobs

* clean up import
This commit is contained in:
Yunwen Zheng
2025-10-31 08:44:57 +02:00
committed by GitHub
parent 83bed02a41
commit ce6523c5f6
@@ -2,9 +2,7 @@ import { css, cx } from '@emotion/css';
import { useMemo } from 'react';
import { GrafanaTheme2 } from '@grafana/data';
import { GrafanaEdition } from '@grafana/data/internal';
import { Trans } from '@grafana/i18n';
import { config } from '@grafana/runtime';
import { Box, Card, CellProps, Grid, InteractiveTable, LinkButton, Stack, Text, useStyles2 } from '@grafana/ui';
import { Repository, ResourceCount } from 'app/api/clients/provisioning/v0alpha1';
@@ -140,13 +138,9 @@ export function RepositoryOverview({ repo }: { repo: Repository }) {
</div>
</Grid>
{/* job status is not ready for Cloud yet */}
{(config.buildInfo.edition === GrafanaEdition.OpenSource ||
config.buildInfo.edition === GrafanaEdition.Enterprise) && (
<div className={styles.cardContainer}>
<RecentJobs repo={repo} />
</div>
)}
<div className={styles.cardContainer}>
<RecentJobs repo={repo} />
</div>
</Stack>
</Box>
);