Skip to content

Commit 0c5dbbb

Browse files
authored
Merge branch 'develop' into consent-restructure
2 parents 1ca8767 + 5f05c0c commit 0c5dbbb

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

src/Components/CriticalCareRecording/VentilatorParametersEditor/CriticalCare__VentilatorParametersEditor.res

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -304,15 +304,11 @@ let make = (
304304
(state.ventilator_interface !=
305305
CriticalCare__VentilatorParameters.decodeVentilatorInterfaceType(
306306
ventilatorInterfaceOptions[0].value,
307-
) ||
308-
switch state.bilateral_air_entry {
309-
| Some(true) => true
310-
| _ => false
311-
} ||
312-
switch (state.etco2) {
313-
| Some(intValue) => true
314-
| None => false
315-
})
307+
) &&
308+
state.ventilator_interface !=
309+
CriticalCare__VentilatorParameters.decodeVentilatorInterfaceType(
310+
ventilatorInterfaceOptions[3].value,
311+
))
316312
) {
317313
toggleOpen()
318314
} else {

0 commit comments

Comments
 (0)