Skip to content

Commit

Permalink
fix(protocol-designer): add duplicate tipracks off deck
Browse files Browse the repository at this point in the history
closes RQA-3744
  • Loading branch information
jerader committed Dec 3, 2024
1 parent 8b98b5f commit 521c553
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,13 @@ export function DeckSetupTools(props: DeckSetupToolsProps): JSX.Element | null {
)
}
if (
selectedModuleModel == null &&
selectedLabwareDefUri != null &&
(createdLabwareForSlot?.labwareDefURI !== selectedLabwareDefUri ||
(selectedNestedLabwareDefUri != null &&
selectedNestedLabwareDefUri !==
createdNestedLabwareForSlot?.labwareDefURI))
(slot === 'offDeck' && selectedLabwareDefUri != null) ||
(selectedModuleModel == null &&
selectedLabwareDefUri != null &&
(createdLabwareForSlot?.labwareDefURI !== selectedLabwareDefUri ||
(selectedNestedLabwareDefUri != null &&
selectedNestedLabwareDefUri !==
createdNestedLabwareForSlot?.labwareDefURI)))
) {
// create adapter + labware on deck
dispatch(
Expand Down

0 comments on commit 521c553

Please sign in to comment.