chore: renamed formatEntityRefTitle to humanizeEnityRef
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -23,7 +23,7 @@ import {
|
||||
catalogApiRef,
|
||||
EntityRefLink,
|
||||
EntityRefLinks,
|
||||
formatEntityRefTitle,
|
||||
humanizeEntityRef,
|
||||
getEntityRelations,
|
||||
} from '@backstage/plugin-catalog-react';
|
||||
import { Tooltip } from '@material-ui/core';
|
||||
@@ -222,10 +222,10 @@ export const FossaPage = ({
|
||||
return {
|
||||
entity,
|
||||
resolved: {
|
||||
name: formatEntityRefTitle(entity),
|
||||
name: humanizeEntityRef(entity),
|
||||
ownedByRelations,
|
||||
ownedByRelationsTitle: ownedByRelations
|
||||
.map(r => formatEntityRefTitle(r, { defaultKind: 'group' }))
|
||||
.map(r => humanizeEntityRef(r, { defaultKind: 'group' }))
|
||||
.join(', '),
|
||||
loading: summariesLoading,
|
||||
details: summary,
|
||||
|
||||
Reference in New Issue
Block a user