From 4b4e8975aa85140c2cd147f1292b445be12fdb4a Mon Sep 17 00:00:00 2001 From: bnechyporenko Date: Mon, 19 Sep 2022 18:39:54 +0200 Subject: [PATCH] Incorporated the feedback Signed-off-by: bnechyporenko --- plugins/catalog-react/api-report.md | 2 +- .../src/components/EntityRefLink/EntityRefLinks.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/catalog-react/api-report.md b/plugins/catalog-react/api-report.md index 711e1935c1..bb19e2a5b8 100644 --- a/plugins/catalog-react/api-report.md +++ b/plugins/catalog-react/api-report.md @@ -285,7 +285,7 @@ export function EntityRefLinks(props: EntityRefLinksProps): JSX.Element; export type EntityRefLinksProps = { entityRefs: (string | Entity | CompoundEntityRef)[]; defaultKind?: string; - getTitle?: (cer: CompoundEntityRef) => string; + getTitle?: (cer: CompoundEntityRef) => string | undefined; } & Omit; // @public diff --git a/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx b/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx index b1a0c39558..cf18a2d643 100644 --- a/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx +++ b/plugins/catalog-react/src/components/EntityRefLink/EntityRefLinks.tsx @@ -26,7 +26,7 @@ import { LinkProps } from '@backstage/core-components'; export type EntityRefLinksProps = { entityRefs: (string | Entity | CompoundEntityRef)[]; defaultKind?: string; - getTitle?: (cer: CompoundEntityRef) => string; + getTitle?: (cer: CompoundEntityRef) => string | undefined; } & Omit; /**