Skip to content

Commit

Permalink
feat(HMS-3392): add blueprint's version in image table
Browse files Browse the repository at this point in the history
  • Loading branch information
amirfefer authored and lucasgarfield committed Jan 25, 2024
1 parent 7c40ca1 commit 87d8608
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Components/ImagesTable/ImagesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
Alert,
Spinner,
Bullseye,
Badge,
} from '@patternfly/react-core';
import { ExternalLinkAltIcon, PlusCircleIcon } from '@patternfly/react-icons';
import {
Expand Down Expand Up @@ -189,6 +190,7 @@ const ImagesTable = ({ selectedBlueprint }: ImageTableProps) => {
<Th>Created/Updated</Th>
<Th>Release</Th>
<Th>Target</Th>
{selectedBlueprint && <Th>Version</Th>}
<Th>Status</Th>
<Th>Instance</Th>
<Th />
Expand Down Expand Up @@ -531,6 +533,11 @@ const Row = ({
<Td dataLabel="Target">
{target ? target : <Target compose={compose} />}
</Td>
{compose.blueprint_version && (
<Td dataLabel="Version">
<Badge isRead>{compose.blueprint_version}</Badge>
</Td>
)}
<Td dataLabel="Status">{status}</Td>
<Td dataLabel="Instance">{instance}</Td>
<Td>
Expand Down

0 comments on commit 87d8608

Please sign in to comment.