Skip to content

Commit

Permalink
fix(app): Ensure we are using the correct logic for screen transition…
Browse files Browse the repository at this point in the history
…s in cal check (#6960)
  • Loading branch information
Laura-Danielle authored Nov 10, 2020
1 parent f8b6266 commit 2fbc872
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/components/CalibrationPanels/SaveXYPoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ export function SaveXYPoint(props: CalibrationPanelProps): React.Node {
sessionType,
activePipette,
instruments,
checkBothPipettes,
} = props

const {
Expand Down Expand Up @@ -193,7 +194,7 @@ export function SaveXYPoint(props: CalibrationPanelProps): React.Node {
}
if (
finalCommand &&
instruments?.length &&
checkBothPipettes &&
activePipette?.rank === Sessions.CHECK_PIPETTE_RANK_FIRST
) {
commands = [...commands, { command: finalCommand }]
Expand Down

0 comments on commit 2fbc872

Please sign in to comment.