Hide the kind of owners in the about card if it's the default kind (group)

This commit is contained in:
Oliver Sand
2021-01-21 14:35:58 +01:00
parent bf2dda31bb
commit a4e636c8ff
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': patch
---
Hide the kind of owners in the about card if it's the default kind (group)
@@ -59,7 +59,7 @@ export const AboutContent = ({ entity }: Props) => {
{ownedByRelations.map((t, i) => (
<React.Fragment key={i}>
{i > 0 && ', '}
<EntityRefLink entityRef={t} />
<EntityRefLink entityRef={t} defaultKind="group" />
</React.Fragment>
))}
</AboutField>