argo-workflows
argo-workflows copied to clipboard
fix(ui): show container logs when using `templateRef`
Fixes #9938 Related to #12970 -- that's for the back-end, this is the one remaining place in the front-end
Motivation
- the component was incorrectly assuming that
node.templateName
exists, which it doesn't in the case of atemplateRef
Modifications
- use the existing
getTemplateNameFromNode
function to properly handle that instead
Verification
Used the WorkflowTemplate and Workflow from the issue repro, can see all containers and logs.