Skip to content

Commit

Permalink
ui: only show LDR badge on jobs page
Browse files Browse the repository at this point in the history
The patch avoids showing the fraction completed on the jobs page for LDR
because it doesn't mean anything.

Epic: none

Release note: none
  • Loading branch information
msbutler committed Jul 18, 2024
1 parent 1efa26e commit 520dad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ui/workspaces/cluster-ui/src/jobs/util/jobOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function jobToVisual(job: Job): JobStatusVisual {
if (job.type === "CHANGEFEED") {
return JobStatusVisual.BadgeOnly;
}
if (job.type === "REPLICATION STREAM PRODUCER") {
if (job.type === "REPLICATION STREAM PRODUCER" || job.type === "LOGICAL REPLICATION INGESTION") {
return JobStatusVisual.BadgeOnly;
}
if (job.type === "REPLICATION STREAM INGESTION") {
Expand Down

0 comments on commit 520dad7

Please sign in to comment.