chore: renamed formatEntityRefTitle to humanizeEnityRef

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-03-02 17:08:25 +01:00
parent 1c2755991d
commit c8222292bf
21 changed files with 53 additions and 53 deletions
@@ -31,7 +31,7 @@ import { configApiRef, useApi, useRouteRef } from '@backstage/core-plugin-api';
import {
catalogApiRef,
entityRouteRef,
formatEntityRefTitle,
humanizeEntityRef,
getEntityRelations,
} from '@backstage/plugin-catalog-react';
import { BackstageTheme } from '@backstage/theme';
@@ -193,7 +193,7 @@ export function GroupsDiagram() {
kind: catalogItem.kind,
name:
(catalogItem as GroupEntity).spec?.profile?.displayName ||
formatEntityRefTitle(catalogItem, { defaultKind: 'Group' }),
humanizeEntityRef(catalogItem, { defaultKind: 'Group' }),
});
// Edge to parent