From 509bd72528296798e3e514445b5116b46ca896fb Mon Sep 17 00:00:00 2001 From: IanLondon Date: Tue, 26 Mar 2019 09:49:58 -0400 Subject: [PATCH] move mix field around (closes #3041) --- .../forms/MoveLiquid/SourceDestFields.js | 38 +++++++++++-------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/protocol-designer/src/components/StepEditForm/forms/MoveLiquid/SourceDestFields.js b/protocol-designer/src/components/StepEditForm/forms/MoveLiquid/SourceDestFields.js index 0a30d83facf..67f5eeb9259 100644 --- a/protocol-designer/src/components/StepEditForm/forms/MoveLiquid/SourceDestFields.js +++ b/protocol-designer/src/components/StepEditForm/forms/MoveLiquid/SourceDestFields.js @@ -29,6 +29,24 @@ function SourceDestFields (props: Props) { const {className, focusHandlers, prefix} = props const addFieldNamePrefix = makeAddFieldNamePrefix(prefix) + const mixFields = ( + + + + + ) + return (
@@ -48,6 +66,7 @@ function SourceDestFields (props: Props) { label={i18n.t('form.step_edit_form.field.preWetTip.label')} className={styles.small_field} /> + {mixFields} } + + {prefix === 'dispense' && mixFields} + - - - - + {prefix === 'dispense' &&