Fix Web Shuttle Sensors

This commit is contained in:
Erik
2020-10-06 23:53:37 -07:00
parent 0a8521f900
commit 9d19d8ca95
2 changed files with 2 additions and 2 deletions

View File

@@ -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