From c8b7ce9112f051a64f8cf6d729204d8d2530d493 Mon Sep 17 00:00:00 2001 From: Benjamin Janssens Date: Thu, 14 Aug 2025 13:41:59 +0200 Subject: [PATCH] chore(plugin-org): rename scrollHeight property to maxScrollHeight Signed-off-by: Benjamin Janssens --- .../src/components/Cards/OwnershipCard/OwnershipCard.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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: { )} - +