From aa6372c0bb2ddb716cb2b9c04cd6fede7ca88848 Mon Sep 17 00:00:00 2001 From: bnechyporenko Date: Mon, 19 Sep 2022 18:21:23 +0200 Subject: [PATCH] Incorporated the feedback Signed-off-by: bnechyporenko --- .../src/components/EntityRefLink/EntityRefLinks.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)