took out the old exclusion stuff from the component types, moved the excluded nodes to the component settings rather than preferences, commented out some deprecated stuff relating to the old measurements
This commit is contained in:
parent
885d308f3b
commit
e586421ffa
39 changed files with 147 additions and 243 deletions
|
|
@ -247,8 +247,8 @@ export default function DeviceComponent() {
|
|||
if (rComponent?.status.lastMeasurement) {
|
||||
setRM(rComponent.status.lastMeasurement);
|
||||
}
|
||||
if (rComponent?.lastMeasurement) {
|
||||
let measurements = rComponent.lastMeasurement.map(um =>
|
||||
if (rComponent?.status.measurement) {
|
||||
let measurements = rComponent.status.measurement.map(um =>
|
||||
UnitMeasurement.any(um, user)
|
||||
);
|
||||
setRecentUnitMeasurement(measurements);
|
||||
|
|
@ -487,7 +487,6 @@ export default function DeviceComponent() {
|
|||
component={component}
|
||||
reading={row}
|
||||
tableCell={true}
|
||||
excludedNodes={component.settings.excludedNodes}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue