From 99ae0fd0ff73ec6c6841dcbfda2ede46cd88c716 Mon Sep 17 00:00:00 2001 From: Bruno Raimbault Date: Tue, 19 Nov 2024 15:07:33 +0100 Subject: [PATCH] feat: add height property to PeriodDimension --- src/components/PeriodDimension/PeriodDimension.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/PeriodDimension/PeriodDimension.js b/src/components/PeriodDimension/PeriodDimension.js index 7e20dbc6e..47b340591 100644 --- a/src/components/PeriodDimension/PeriodDimension.js +++ b/src/components/PeriodDimension/PeriodDimension.js @@ -19,6 +19,7 @@ const PeriodDimension = ({ rightFooter, excludedPeriodTypes, infoBoxMessage, + height, }) => { const { systemInfo } = useConfig() const result = useDataQuery(userSettingsQuery) @@ -43,6 +44,7 @@ const PeriodDimension = ({ dataTest={'period-dimension'} excludedPeriodTypes={excludedPeriodTypes} periodsSettings={periodsSettings} + height={height} /> ) } @@ -53,6 +55,7 @@ PeriodDimension.propTypes = { infoBoxMessage: PropTypes.string, rightFooter: PropTypes.node, selectedPeriods: PropTypes.array, + height: PropTypes.string, } PeriodDimension.defaultProps = {