mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-09 16:12:17 +00:00
Fix Web Shuttle Sensors
This commit is contained in:
@@ -410,7 +410,7 @@ const ShuttleControlConsoleWeb = (props, context) => {
|
||||
<LabeledList>
|
||||
{Object.keys(sensors).map(key => {
|
||||
let sensor = sensors[key];
|
||||
if (sensor.reading !== -1) {
|
||||
if (sensor.reading === -1) {
|
||||
return (
|
||||
<LabeledList.Item label={key} color="bad">
|
||||
Unable to get sensor air reading.
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user