diff --git a/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx b/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx index 0434dfb525..b1a0c39558 100644 --- a/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx +++ b/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx @@ -40,7 +40,7 @@ export function EntityRefLinks(props: EntityRefLinksProps) { <> {entityRefs.map((r, i) => { const isCompoundEntityRef = - getTitle && typeof r !== 'string' && !('metadata' in r && getTitle); + getTitle && typeof r !== 'string' && !('metadata' in r); const title = isCompoundEntityRef ? getTitle(r as CompoundEntityRef)