Skip to content

Commit a5a1195

Browse files
authored
fix(ui): link to noderun: missing name query params (#5129)
1 parent c6a8f2c commit a5a1195

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ui/src/app/shared/workflow/wnode/pipeline/wnode.pipeline.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class WorkflowWNodePipelineComponent {
3636
displayLogs() {
3737
if (this.noderun) {
3838
this._router.navigate(['node', this.noderun.id], {
39-
relativeTo: this._activatedRoute,
39+
relativeTo: this._activatedRoute, queryParams: { name: this.node.name }
4040
});
4141
} else {
4242
this._router.navigate([

ui/src/app/shared/workflow/wnode/wnode.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ export class WorkflowWNodeComponent implements OnInit {
190190
case 'logs':
191191
this._router.navigate(['node', this.currentNodeRun.id], {
192192
relativeTo: this._activatedRoute,
193+
queryParams: { name: this.node.name }
193194
});
194195
break;
195196
}

0 commit comments

Comments
 (0)