From 6ece355c1fe3b22d226705db370aec207035eff0 Mon Sep 17 00:00:00 2001 From: mcmcphillips Date: Fri, 27 Dec 2024 08:48:02 -0800 Subject: [PATCH] MAT-7111: fix build issues --- .../DataElementsTable/dataElementActions/MadieSpeedDial.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/editMeasure/testCases/components/editTestCase/qdm/LeftPanel/ElementsTab/Elements/DataElementsTable/dataElementActions/MadieSpeedDial.tsx b/src/components/editMeasure/testCases/components/editTestCase/qdm/LeftPanel/ElementsTab/Elements/DataElementsTable/dataElementActions/MadieSpeedDial.tsx index 82d99093..a281bfc5 100644 --- a/src/components/editMeasure/testCases/components/editTestCase/qdm/LeftPanel/ElementsTab/Elements/DataElementsTable/dataElementActions/MadieSpeedDial.tsx +++ b/src/components/editMeasure/testCases/components/editTestCase/qdm/LeftPanel/ElementsTab/Elements/DataElementsTable/dataElementActions/MadieSpeedDial.tsx @@ -12,7 +12,7 @@ interface MadieSpeedDialProps { dataTestId?: any; } -const MeasureActionCenter = (props: MadieSpeedDialProps) => { +const MadieSpeedDial = (props: MadieSpeedDialProps) => { const { actions, dataTestId } = props; const [open, setOpen] = useState(false); @@ -64,7 +64,7 @@ const MeasureActionCenter = (props: MadieSpeedDialProps) => { key={action.name} icon={action.icon} tooltipTitle={action.name} - data-testid={action.dataTestId} + data-testid={action?.dataTestId} onClick={() => { setOpen(false); action.onClick(); @@ -83,4 +83,4 @@ const MeasureActionCenter = (props: MadieSpeedDialProps) => { ); }; -export default MeasureActionCenter; +export default MadieSpeedDial;