diff --git a/src/pages/Devices.tsx b/src/pages/Devices.tsx index 6617f9d..0e030c1 100644 --- a/src/pages/Devices.tsx +++ b/src/pages/Devices.tsx @@ -324,8 +324,20 @@ export default function Devices() { } useEffect(() => { - console.log(hasPlenums) - }, [hasPlenums]) + console.log("has no2: "+hasNo2) + }, [hasNo2]) + + useEffect(() => { + console.log("has co2: "+hasCo2) + }, [hasCo2]) + + useEffect(() => { + console.log("has co: "+hasNo2) + }, [hasNo2]) + + useEffect(() => { + console.log("has o2: "+hasO2) + }, [hasO2]) const openProvisionDialog = () => { setIsProvisionDialogOpen(true); @@ -659,7 +671,7 @@ export default function Devices() { } }) } - if (hasCo) { + if (hasCo && !groupGas) { columns.push({ title: groupGas ? "Gas" : "CO", render: (device: Device) => {