File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
app/src/molecules/Command Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export const LoadCommandText = ({
32
32
robotType,
33
33
} : LoadCommandTextProps ) : JSX . Element | null => {
34
34
const { t } = useTranslation ( 'run_details' )
35
-
35
+
36
36
switch ( command . commandType ) {
37
37
case 'loadPipette' : {
38
38
const pipetteModel = getPipetteNameOnMount (
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { GRIPPER_WASTE_CHUTE_ADDRESSABLE_AREA } from '@opentrons/shared-data'
3
3
import { getLabwareName } from './utils'
4
4
import { getLabwareDisplayLocation } from './utils/getLabwareDisplayLocation'
5
5
import { getFinalLabwareLocation } from './utils/getFinalLabwareLocation'
6
-
7
6
import type {
8
7
MoveLabwareRunTimeCommand ,
9
8
RobotType ,
Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ export function getLabwareDisplayLocation(
22
22
if ( location === 'offDeck' ) {
23
23
return t ( 'off_deck' )
24
24
} else if ( 'slotName' in location ) {
25
- return isOnDevice === true
25
+ return isOnDevice
26
26
? location . slotName
27
27
: t ( 'slot' , { slot_name : location . slotName } )
28
28
} else if ( 'addressableAreaName' in location ) {
29
- return isOnDevice === true
29
+ return isOnDevice
30
30
? location . addressableAreaName
31
31
: t ( 'slot' , { slot_name : location . addressableAreaName } )
32
32
} else if ( 'moduleId' in location ) {
@@ -39,7 +39,7 @@ export function getLabwareDisplayLocation(
39
39
commandTextData ,
40
40
location . moduleId
41
41
)
42
- return isOnDevice === true
42
+ return isOnDevice
43
43
? `${ getModuleDisplayName ( moduleModel ) } , ${ slotName } `
44
44
: t ( 'module_in_slot' , {
45
45
count : getOccludedSlotCountForModule (
You can’t perform that action at this time.
0 commit comments