Skip to content

Commit

Permalink
fix(ui): use node pipeline parameters from run's workflow data (#5772)
Browse files Browse the repository at this point in the history
Signed-off-by: richardlt <[email protected]>
  • Loading branch information
richardlt authored Mar 22, 2021
1 parent eafe13d commit 4f55b1a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export class WorkflowNodeRunParamComponent implements AfterViewInit, OnDestroy {

private updateDefaultPipelineParameters() {
if (this.nodeToRun) {
let pipToRun = Workflow.getPipeline(this.workflow, this.nodeToRun);
let pipToRun = Workflow.getPipeline(this.currentWorkflowRun ? this.currentWorkflowRun.workflow : this.workflow, this.nodeToRun);
if (!pipToRun) {
return;
}
Expand Down

0 comments on commit 4f55b1a

Please sign in to comment.