RepositoryOverview: Bugfix recent job not displaying in OSS (#109407)
fix condition
This commit is contained in:
@@ -253,12 +253,12 @@ export function RepositoryOverview({ repo }: { repo: Repository }) {
|
||||
</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>
|
||||
))}
|
||||
{(config.buildInfo.edition === GrafanaEdition.OpenSource ||
|
||||
config.buildInfo.edition === GrafanaEdition.Enterprise) && (
|
||||
<div className={styles.cardContainer}>
|
||||
<RecentJobs repo={repo} />
|
||||
</div>
|
||||
)}
|
||||
</Stack>
|
||||
</Box>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user