Merge pull request #4190 from SDA-SE/feat/hide-default-kind

Hide the kind of owners in the about card if it's the default kind (group)
This commit is contained in:
Fredrik Adelöw
2021-01-21 14:56:22 +01:00
committed by GitHub
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>