Skip to content

Commit

Permalink
fix(ui): show container logs when using templateRef (#12973)
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Gilgur <[email protected]>
(cherry picked from commit 920d965)
  • Loading branch information
Anton Gilgur committed May 27, 2024
1 parent d2ff152 commit 27a283a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export function WorkflowLogsViewer({workflow, initialNodeId, initialPodName, con
// default to the node id of the pod
const nodeId = initialNodeId || podNamesToNodeIDs.get(podName);
const node = workflow.status.nodes[nodeId];
const templates = execSpec(workflow).templates.filter(t => !node || t.name === node.templateName);
const templates = execSpec(workflow).templates.filter(t => !node || t.name === getTemplateNameFromNode(node));

const containers = [
...new Set(
Expand Down

0 comments on commit 27a283a

Please sign in to comment.