Merge pull request #4528 from SDA-SE/feat/about-card-owner
Hide the kind of the owner if it's the default kind for the `ownedBy` relationship (group)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user