Skip to content

Commit

Permalink
quick frontend fix with revision number (#4093)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feroze Mohideen authored Dec 13, 2023
1 parent cfb29b4 commit 4c0f30c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type Props = {
const ServiceStatusDetail: React.FC<Props> = ({
serviceDeploymentMetadata,
revisionId,
revisionNumber,
revisionNumber = 0,
}) => {
const { latestClientServices, latestClientNotifications, tabUrlGenerator } =
useLatestRevision();
Expand Down Expand Up @@ -116,7 +116,7 @@ const ServiceStatusDetail: React.FC<Props> = ({
<Spacer inline x={0.5} />
</>
)}
{serviceType !== "job" && revisionNumber && (
{serviceType !== "job" && revisionNumber !== 0 && (
<>
<Tag>
<Link
Expand Down

0 comments on commit 4c0f30c

Please sign in to comment.