This commit is contained in:
Manabu Mccloskey 2023-06-22 16:26:56 -07:00
parent f1d9361a83
commit 2a2fa25b7d
2 changed files with 4 additions and 4 deletions

View file

@ -2,12 +2,12 @@
import React from 'react';
import {Header, HeaderLabel, Page, Content, ContentHeader, SupportButton} from "@backstage/core-components";
import {Grid} from "@material-ui/core";
import {VersionComponent} from "../Version/Version";
import {WorkflowOverviewComponent} from "../WorkflowOverview/WorkflowOverview";
export const OverviewComponent = () => (
<Page themeId="tool">
<Header title="Argo Workflows" subtitle="Workflows overview">
<Header title="Argo Workflows">
<HeaderLabel label="Lifecycle" value="Alpha" />
</Header>
<Content>
@ -17,7 +17,7 @@ export const OverviewComponent = () => (
</SupportButton>
</ContentHeader>
<Grid item>
<VersionComponent />
<WorkflowOverviewComponent />
</Grid>
</Content>
</Page>

View file

@ -36,7 +36,7 @@ const columns: TableColumn[] = [
{title: "EndTime", field: "finishedAt", type: "datetime"}
]
export const VersionComponent = () => {
export const WorkflowOverviewComponent = () => {
const {entity} = useEntity()
const apiClient = useApi(argoWorkflowsApiRef)