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