diff --git a/shared-data/command/types/setup.ts b/shared-data/command/types/setup.ts index 07d992132a6..7180abfd6f9 100644 --- a/shared-data/command/types/setup.ts +++ b/shared-data/command/types/setup.ts @@ -119,7 +119,7 @@ export type SetupCreateCommand = | LoadLiquidCreateCommand | MoveLabwareCreateCommand | LoadLidCreateCommand - | LoadLidRunTimeCommand + | LoadLidStackCreateCommand export type LabwareLocation = | 'offDeck' diff --git a/shared-data/js/helpers/getAddressableAreasInProtocol.ts b/shared-data/js/helpers/getAddressableAreasInProtocol.ts index 475eac8d01a..9b972d0accf 100644 --- a/shared-data/js/helpers/getAddressableAreasInProtocol.ts +++ b/shared-data/js/helpers/getAddressableAreasInProtocol.ts @@ -17,7 +17,7 @@ export function getAddressableAreasInProtocol( (acc, command) => { const { commandType, params } = command if ( - (commandType === 'moveLabware' || commandType === 'moveLid') && + commandType === 'moveLabware' && params.newLocation !== 'offDeck' && params.newLocation !== 'systemLocation' && 'slotName' in params.newLocation && @@ -34,7 +34,7 @@ export function getAddressableAreasInProtocol( return [...acc, addressableAreaName] } } else if ( - (commandType === 'moveLabware' || commandType === 'moveLid') && + commandType === 'moveLabware' && params.newLocation !== 'offDeck' && params.newLocation !== 'systemLocation' && 'addressableAreaName' in params.newLocation &&