Files
backstage/.changeset/grumpy-parents-prove.md
T
Andre Wanlin 8d3f09e88c Improved changeset note
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
2022-04-03 15:39:56 -05:00

648 B

@backstage/plugin-org
@backstage/plugin-org
patch

Provides the ability to hide the relations toggle on the OwnershipCard as well as setting a default relation type.

To hide the toggle simply include the hideRelationsToggle prop like this:

<EntityOwnershipCard
  variant="gridItem"
  entityFilterKind={customEntityFilterKind}
  hideRelationsToggle
/>

To set the default relation type, add the relationsType prop with a value of direct or aggregated, the default if not provided is direct. Here is an example:

<EntityOwnershipCard
  variant="gridItem"
  entityFilterKind={customEntityFilterKind}
  relationsType="aggregated"
/>