Skip to content

Commit

Permalink
feat(protocol-designer): add flex slot labels to protocol designer de…
Browse files Browse the repository at this point in the history
…ck map

adds flex slot labels to protocol designer deck setup map

closes RAUT-526
  • Loading branch information
brenthagen committed Jul 5, 2023
1 parent 8280fb0 commit 4f67c98
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions protocol-designer/src/components/DeckSetup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
TEXT_TRANSFORM_UPPERCASE,
RobotWorkSpaceRenderProps,
Module,
SlotLabels,
} from '@opentrons/components'
import {
MODULES_WITH_COLLISION_ISSUES,
Expand Down Expand Up @@ -457,17 +458,20 @@ export const DeckSetup = (): JSX.Element => {
height="100%"
>
{({ deckSlotsById, getRobotCoordsFromDOMCoords }) => (
<DeckSetupContents
robotType={robotType}
activeDeckSetup={activeDeckSetup}
selectedTerminalItemId={selectedTerminalItemId}
{...{
deckDef,
deckSlotsById,
getRobotCoordsFromDOMCoords,
showGen1MultichannelCollisionWarnings,
}}
/>
<>
<DeckSetupContents
robotType={robotType}
activeDeckSetup={activeDeckSetup}
selectedTerminalItemId={selectedTerminalItemId}
{...{
deckDef,
deckSlotsById,
getRobotCoordsFromDOMCoords,
showGen1MultichannelCollisionWarnings,
}}
/>
<SlotLabels robotType={robotType} />
</>
)}
</RobotWorkSpace>
</div>
Expand Down

0 comments on commit 4f67c98

Please sign in to comment.