We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 323dfe7 commit ddc149fCopy full SHA for ddc149f
app/src/organisms/ODD/ProtocolSetup/ProtocolSetupModulesAndDeck/ModuleTableItem.tsx
@@ -83,17 +83,15 @@ export const getModuleDisplayStatus = (
83
return 'connected'
84
}
85
86
- // module is connected but instrument not calibrated
87
- if (!calibrationStatus.complete) {
88
- return 'calibrationBlocked'
89
- }
90
-
91
// Absorbance reader module does not require calibration
92
if (
93
attachedModule.moduleType !== ABSORBANCE_READER_TYPE &&
94
attachedModule.moduleOffset?.last_modified == null
95
) {
96
- return 'needsCalibration'
+ // check if instrument ready to perform module calibration
+ return !calibrationStatus.complete
+ ? 'calibrationBlocked'
+ : 'needsCalibration'
97
98
99
0 commit comments