8000 fix(ui): check if piptorun exist (#3153) · ovh/cds@c119103 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit c119103

Browse files
bnjjjfsamin
authored andcommitted
fix(ui): check if piptorun exist (#3153)
Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
1 parent 618d407 commit c119103

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/src/app/shared/workflow/node/run/node.run.param.component.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@ export class WorkflowNodeRunParamComponent {
274274

275275
private updateDefaultPipelineParameters() {
276276
let pipToRun = Workflow.getPipeline(this.workflow, this._nodeToRun);
277+
if (!pipToRun) {
278+
return;
279+
}
277280

278281
if (this._nodeToRun.context) {
279282
this._nodeToRun.context.default_pipeline_parameters =

0 commit comments

Comments
 (0)
0