forked from jappel/leistungsbilanz-ts
Render circuit protection values
This commit is contained in:
parent
2964205a27
commit
54874f9fcb
2 changed files with 43 additions and 0 deletions
|
|
@ -146,6 +146,13 @@ function makeVisibleGridRow(
|
|||
value = getDeviceValue(device, column.key);
|
||||
} else if (kind === "circuitField" && circuit) {
|
||||
value = getCircuitValue(circuit, column.key);
|
||||
} else if (
|
||||
kind === "computed" &&
|
||||
rowType !== "deviceRow" &&
|
||||
circuit &&
|
||||
circuitOnlyColumns.has(column.key)
|
||||
) {
|
||||
value = getCircuitValue(circuit, column.key);
|
||||
} else if (column.key === "rowTotalPower" && device) {
|
||||
value = device.rowTotalPower;
|
||||
} else if (column.key === "rowTotalPower" && circuit) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue