diff --git a/ui/src/app/shared/pod-name.ts b/ui/src/app/shared/pod-name.ts index 39eb900c1a8d..4e7791f2b3a7 100644 --- a/ui/src/app/shared/pod-name.ts +++ b/ui/src/app/shared/pod-name.ts @@ -55,7 +55,7 @@ export const getTemplateNameFromNode = (node: NodeStatus): string => { } // fall back to v1 pod names if no templateName or templateRef defined - if (!node.templateRef) { + if (node?.templateRef === undefined || node?.templateRef.template === '') { return ''; }