Skip to content

Commit

Permalink
fix(protocol-designer): filter out module addressable areas from newL… (
Browse files Browse the repository at this point in the history
#14918)

…ocation dropdown

closes AUTH-348
  • Loading branch information
jerader authored and Carlos-fernandez committed May 20, 2024
1 parent 93a3330 commit 8d75827
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
STAGING_AREA_RIGHT_SLOT_FIXTURE,
isAddressableAreaStandardSlot,
MOVABLE_TRASH_ADDRESSABLE_AREAS,
FLEX_MODULE_ADDRESSABLE_AREAS,
} from '@opentrons/shared-data'
import { COLUMN_4_SLOTS } from '@opentrons/step-generation'
import {
Expand Down Expand Up @@ -232,7 +233,8 @@ export const getUnoccupiedLabwareLocationOptions: Selector<
.includes(slotId) &&
!isTrashSlot &&
!WASTE_CHUTE_ADDRESSABLE_AREAS.includes(slotId) &&
!notSelectedStagingAreaAddressableAreas.includes(slotId)
!notSelectedStagingAreaAddressableAreas.includes(slotId) &&
!FLEX_MODULE_ADDRESSABLE_AREAS.includes(slotId)
)
})
.map(slotId => ({ name: slotId, value: slotId }))
Expand Down

0 comments on commit 8d75827

Please sign in to comment.