8d3f09e88c
Signed-off-by: Andre Wanlin <awanlin@rapidrtc.com>
648 B
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"
/>