Update ControlPrinter to consistently render AlertsDisplay component

- Moved the AlertsDisplay component to ensure it is always rendered within the ControlPrinter, improving visibility of alerts.
- Enhanced layout consistency by maintaining the structure of the component within the Flex container.
This commit is contained in:
Tom Butcher 2026-07-26 15:00:58 +01:00
parent c588196580
commit d122dfa83f

View File

@ -273,14 +273,15 @@ const ControlPrinter = ({ slicerIntegration = false }) => {
visibleState={collapseState} visibleState={collapseState}
updateVisibleState={updateCollapseState} updateVisibleState={updateCollapseState}
/> />
<AlertsDisplay
alerts={objectFormState.objectData?.alerts}
printerId={printerId}
/>
</Space> </Space>
</Space> </Space>
</Flex> </Flex>
<AlertsDisplay
alerts={objectFormState.objectData?.alerts}
printerId={printerId}
/>
<ScrollBox> <ScrollBox>
<Flex vertical gap={'large'}> <Flex vertical gap={'large'}>
<ActionHandler <ActionHandler