fixed bug that was causing the reading in the headers of the bin sensro graphs to be converted evertime the tab changed to "Sensors"
This commit is contained in:
parent
5341c38ce2
commit
497e81fc4b
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ export default function BinComponentGraph(props: Props) {
|
||||||
<UnitMeasurementSummary
|
<UnitMeasurementSummary
|
||||||
component={component}
|
component={component}
|
||||||
reading={UnitMeasurement.convertLastMeasurement(
|
reading={UnitMeasurement.convertLastMeasurement(
|
||||||
component.status.lastGoodMeasurement.map(m => UnitMeasurement.create(m, user))
|
lastMeasurement.map(m => UnitMeasurement.create(m, user))
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue