diff --git a/plugins/org/src/components/Cards/OwnershipCard/OwnershipCard.tsx b/plugins/org/src/components/Cards/OwnershipCard/OwnershipCard.tsx index b449896b72..1df55c62c2 100644 --- a/plugins/org/src/components/Cards/OwnershipCard/OwnershipCard.tsx +++ b/plugins/org/src/components/Cards/OwnershipCard/OwnershipCard.tsx @@ -94,19 +94,20 @@ export const OwnershipCard = (props: { relationsType?: EntityRelationAggregation; relationAggregation?: EntityRelationAggregation; entityLimit?: number; - scrollHeight?: string; + maxScrollHeight?: string; }) => { const { variant, entityFilterKind, hideRelationsToggle, entityLimit = 6, - scrollHeight: propScrollHeight, + maxScrollHeight: propMaxScrollHeight, } = props; const relationAggregation = props.relationAggregation ?? props.relationsType; const relationsToggle = hideRelationsToggle === undefined ? false : hideRelationsToggle; - const scrollHeight = variant !== 'fullHeight' ? propScrollHeight : undefined; + const maxScrollHeight = + variant !== 'fullHeight' ? propMaxScrollHeight : undefined; const classes = useStyles(); const { entity } = useEntity(); const { t } = useTranslationRef(orgTranslationRef); @@ -174,7 +175,7 @@ export const OwnershipCard = (props: { )} - +