diff --git a/plugins/org/src/components/Cards/OwnershipCard/OwnershipCard.tsx b/plugins/org/src/components/Cards/OwnershipCard/OwnershipCard.tsx index 00e20bb709..7f14378632 100644 --- a/plugins/org/src/components/Cards/OwnershipCard/OwnershipCard.tsx +++ b/plugins/org/src/components/Cards/OwnershipCard/OwnershipCard.tsx @@ -125,8 +125,7 @@ const getQueryParams = ( selectedEntity: EntityTypeProps, ): string => { const ownerName = owner.metadata.name; - const kind = selectedEntity.kind; - const type = selectedEntity.type; + const { kind, type } = selectedEntity; const queryParams = qs.stringify({ filters: { kind,