Add widget to show recent git workflow runs
* Fix Entity Page layout * Fix mock api injection
This commit is contained in:
@@ -63,15 +63,19 @@ const CICDSwitcher = ({ entity }: { entity: Entity }) => {
|
||||
|
||||
const OverviewContent = ({ entity }: { entity: Entity }) => (
|
||||
<Grid container spacing={3}>
|
||||
<Grid item md={6}>
|
||||
{isJenkinsAvailable(entity) && <JenkinsLatestRunCard branch="master" />}
|
||||
{isGitHubActionsAvailable(entity) && (
|
||||
<RecentWorkflowRunsCard entity={entity} />
|
||||
)}
|
||||
</Grid>
|
||||
<Grid item md={6}>
|
||||
<AboutCard entity={entity} />
|
||||
</Grid>
|
||||
{isJenkinsAvailable(entity) && (
|
||||
<Grid item md={6}>
|
||||
<JenkinsLatestRunCard branch="master" />
|
||||
</Grid>
|
||||
)}
|
||||
{isGitHubActionsAvailable(entity) && (
|
||||
<Grid item md={6}>
|
||||
<RecentWorkflowRunsCard entity={entity} />
|
||||
</Grid>
|
||||
)}
|
||||
</Grid>
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user