Skip to content

Commit ddc149f

Browse files
authored
fix(app): Only say pipette needed for calibration if calibration isn't complete (#19170)
Fix RQA-4422
1 parent 323dfe7 commit ddc149f

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

app/src/organisms/ODD/ProtocolSetup/ProtocolSetupModulesAndDeck/ModuleTableItem.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,15 @@ export const getModuleDisplayStatus = (
8383
return 'connected'
8484
}
8585

86-
// module is connected but instrument not calibrated
87-
if (!calibrationStatus.complete) {
88-
return 'calibrationBlocked'
89-
}
90-
9186
// Absorbance reader module does not require calibration
9287
if (
9388
attachedModule.moduleType !== ABSORBANCE_READER_TYPE &&
9489
attachedModule.moduleOffset?.last_modified == null
9590
) {
96-
return 'needsCalibration'
91+
// check if instrument ready to perform module calibration
92+
return !calibrationStatus.complete
93+
? 'calibrationBlocked'
94+
: 'needsCalibration'
9795
}
9896
return 'connected'
9997
}

0 commit comments

Comments
 (0)