Skip to content

Commit

Permalink
fix(ui): display parameter empty (#6012)
Browse files Browse the repository at this point in the history
  • Loading branch information
sguiheux authored Nov 15, 2021
1 parent 8631c22 commit 06307e1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ export class WorkflowRunNodePipelineComponent implements OnInit, OnDestroy {
this._cd.markForCheck();
return;
}

if (this.currentNodeJobRun && rj.id === this.currentNodeJobRun.id && this.currentNodeJobRun?.status === rj?.status) {
if (this.currentNodeJobRun?.job?.pipeline_action_id === rj.job.pipeline_action_id) {
const stepStatusChanged = rj.job.step_status?.length !== this.currentNodeJobRun.job.step_status?.length;
if (!stepStatusChanged) {
const addParameters = !this.currentNodeJobRun.parameters && rj.parameters;
if (!stepStatusChanged && !addParameters) {
return;
}
}
Expand Down

0 comments on commit 06307e1

Please sign in to comment.