Skip to content

Commit

Permalink
small v
Browse files Browse the repository at this point in the history
  • Loading branch information
joshri committed Oct 23, 2023
1 parent 58e4036 commit 76879e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ui/src/components/Pipelines/PipelineDetails/Target.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ function Target({ className, target, background }: Props) {
<ClusterDashboardLink clusterName={clusterName} />
</Flex>
{_.map(target.workloads, (workload, index) => {
const { lastAppliedRevision, version } = workload;
return (
<Flex key={index} column gap="8">
<Flex column>
Expand Down Expand Up @@ -72,10 +73,11 @@ function Target({ className, target, background }: Props) {
: 'alertOriginal'
}
>
LAST APPLIED VERSION: {'V' + workload.lastAppliedRevision || '-'}
LAST APPLIED VERSION:{' '}
{lastAppliedRevision ? 'v' + lastAppliedRevision : '-'}
</Text>
<Text size="small">
SPECIFIED VERSION: {'V' + workload.version || '-'}
SPECIFIED VERSION: {version ? 'v' + version : '-'}
</Text>
</Flex>
);
Expand Down

0 comments on commit 76879e6

Please sign in to comment.