Skip to content

Commit a4e636c

Browse files
committed
Hide the kind of owners in the about card if it's the default kind (group)
1 parent bf2dda3 commit a4e636c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/fair-months-enjoy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@backstage/plugin-catalog': patch
3+
---
4+
5+
Hide the kind of owners in the about card if it's the default kind (group)

plugins/catalog/src/components/AboutCard/AboutContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const AboutContent = ({ entity }: Props) => {
5959
{ownedByRelations.map((t, i) => (
6060
<React.Fragment key={i}>
6161
{i > 0 && ', '}
62-
<EntityRefLink entityRef={t} />
62+
<EntityRefLink entityRef={t} defaultKind="group" />
6363
</React.Fragment>
6464
))}
6565
</AboutField>

0 commit comments

Comments
 (0)