Skip to content

Commit

Permalink
fix(step-generation): fix blowout location from multi-dispense
Browse files Browse the repository at this point in the history
clsoes RESC-356
  • Loading branch information
jerader committed Dec 3, 2024
1 parent 6c0d418 commit 34cb611
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,12 @@ export const moveLiquidFormToArgs = (
'dispense_delay_mmFromBottom'
)
const blowoutLocation =
(fields.blowout_checkbox && fields.blowout_location) || null
(fields.blowout_checkbox && fields.blowout_location) ||
(fields.disposalVolume_checkbox &&
fields.disposalVolume_volume &&
fields.blowout_location) ||
null

const blowoutOffsetFromTopMm =
blowoutLocation != null
? blowout_z_offset ?? DEFAULT_MM_BLOWOUT_OFFSET_FROM_TOP
Expand Down

0 comments on commit 34cb611

Please sign in to comment.