diff --git a/ui/src/app/applications/components/application-details/application-resource-list.tsx b/ui/src/app/applications/components/application-details/application-resource-list.tsx index 61cd96c8cb6443..2fd38d34e9365d 100644 --- a/ui/src/app/applications/components/application-details/application-resource-list.tsx +++ b/ui/src/app/applications/components/application-details/application-resource-list.tsx @@ -35,7 +35,7 @@ export const ApplicationResourceList = ({ const view = searchParams.get('view'); const ParentRefDetails = () => { - return ( + return Object.keys(parentNode).length > 0 ? (
Parent Node Info
@@ -47,6 +47,8 @@ export const ApplicationResourceList = ({
{parentNode?.kind}
+ ) : ( +
); }; return (