Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jerader committed Jan 13, 2025
1 parent 422a6bc commit aa0c7ec
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion components/src/molecules/DropdownMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface DropdownOption {
/** subtext below the name */
subtext?: string
disabled?: boolean
tooltipText?: string
tooltipText?: string | null
}

export type DropdownBorder = 'rounded' | 'neutral'
Expand Down
2 changes: 1 addition & 1 deletion protocol-designer/src/feature-flags/reducers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const initialFlags: Flags = {
process.env.OT_PD_ENABLE_HOT_KEYS_DISPLAY === '1' || true,
OT_PD_ENABLE_REACT_SCAN: process.env.OT_PD_ENABLE_REACT_SCAN === '1' || false,
OT_PD_ENABLE_LIQUID_CLASSES:
process.env.OT_PD_ENABLE_REACT_SCAN === '1' || false,
process.env.OT_PD_ENABLE_LIQUID_CLASSES === '1' || false,
OT_PD_ENABLE_PARTIAL_TIP_SUPPORT:
process.env.OT_PD_ENABLE_PARTIAL_TIP_SUPPORT === '1' || false,
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function PartialTipField(props: PartialTipFieldProps): JSX.Element {
disabled: noTipracksOnAdapter,
tooltipText: noTipracksOnAdapter
? t('form:step_edit_form.field.nozzles.option_tooltip.partial')
: undefined,
: null,
})
if (enablePartialTip) {
options.push({
Expand All @@ -56,7 +56,7 @@ export function PartialTipField(props: PartialTipFieldProps): JSX.Element {
disabled: noTipracksOnAdapter,
tooltipText: noTipracksOnAdapter
? t('form:step_edit_form.field.nozzles.option_tooltip.partial')
: undefined,
: null,
})
}
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export function MixTools(props: StepFormProps): JSX.Element {

const is96Channel =
propsForFields.pipette.value != null &&
pipettes[String(propsForFields.pipette.value)].name === 'p1000_96'
pipettes[String(propsForFields.pipette.value)].spec.channels === 96
const is8Channel =
propsForFields.pipette.value != null &&
pipettes[String(propsForFields.pipette.value)].spec.channels === 8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function MoveLiquidTools(props: StepFormProps): JSX.Element {

const is96Channel =
propsForFields.pipette.value != null &&
pipettes[String(propsForFields.pipette.value)].name === 'p1000_96'
pipettes[String(propsForFields.pipette.value)].spec.channels === 96
const is8Channel =
propsForFields.pipette.value != null &&
pipettes[String(propsForFields.pipette.value)].spec.channels === 8
Expand Down
2 changes: 1 addition & 1 deletion protocol-designer/src/top-selectors/substep-highlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function _wellsForPipette(

// `wells` is all the wells that pipette's channel 1 interacts with.
if ((pipChannels === 8 || pipChannels === 96) && nozzles !== SINGLE) {
let channels: 8 | 96 = pipChannels
let channels = pipChannels
if (nozzles === ALL && pipChannels === 8) {
channels = 96
} else if (
Expand Down

0 comments on commit aa0c7ec

Please sign in to comment.