Hide the kind of the owner if it's the default kind for the ownedBy relationship (group).

I guess I missed this one. In the catalog table & co we already hide it.

Signed-off-by: Oliver Sand oliver.sand@sda-se.com
This commit is contained in:
Oliver Sand
2021-02-15 11:34:51 +01:00
parent ce69bee73a
commit 32a9504095
2 changed files with 7 additions and 1 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-catalog': patch
---
Hide the kind of the owner if it's the default kind for the `ownedBy`
relationship (group).
@@ -66,7 +66,7 @@ export const AboutContent = ({ entity }: Props) => {
</Typography>
</AboutField>
<AboutField label="Owner" gridSizes={{ xs: 12, sm: 6, lg: 4 }}>
<EntityRefLinks entityRefs={ownedByRelations} />
<EntityRefLinks entityRefs={ownedByRelations} defaultKind="group" />
</AboutField>
{isSystem && (
<AboutField