diff --git a/components/actions/ActionHighlightsList.tsx b/components/actions/ActionHighlightsList.tsx index 0b3a691a..49329453 100644 --- a/components/actions/ActionHighlightsList.tsx +++ b/components/actions/ActionHighlightsList.tsx @@ -153,16 +153,17 @@ function ActionCardList(props: ActionCardListProps) { type ActionHighlightsListProps = { plan: PlanContextFragment; + count?: number; + displayHeader?: boolean; }; function ActionHighlightsList(props: ActionHighlightsListProps) { - const { plan } = props; - + const { plan, count, displayHeader } = props; const { t } = useTranslation(); const queryParams = { plan: plan.identifier, - first: 6, + first: count ?? 6, orderBy: '-updatedAt', }; @@ -175,7 +176,14 @@ function ActionHighlightsList(props: ActionHighlightsListProps) { return (
{t('error-loading-actions', getActionTermContext(plan))}
); - return