forked from jappel/leistungsbilanz-ts
Derive project device phases from category
This commit is contained in:
parent
5fb81bab04
commit
1e3c721cfa
9 changed files with 101 additions and 80 deletions
|
|
@ -3258,7 +3258,6 @@ export function CircuitTreeEditor(props: { projectId: string; circuitListId: str
|
|||
>
|
||||
<strong>{device.displayName || device.name}</strong>
|
||||
<span>Name: {device.name}</span>
|
||||
<span>Phasenart: {formatPhaseTypeLabel(device.phaseType)}</span>
|
||||
<span>Anzahl: {formatValue(device.quantity, "quantity")}</span>
|
||||
<span>
|
||||
Leistung/Gerät: {formatValue(device.powerPerUnit, "powerPerUnit")} kW
|
||||
|
|
@ -3271,7 +3270,7 @@ export function CircuitTreeEditor(props: { projectId: string; circuitListId: str
|
|||
Gesamtleistung: {formatValue(device.totalPower, "rowTotalPower")} kW
|
||||
</span>
|
||||
<span>Kostengruppe: {device.costGroup || "-"}</span>
|
||||
<span>Kategorie: {device.category || "-"}</span>
|
||||
<span>Kategorie: {circuitGroupCategoryLabels[device.category]}</span>
|
||||
</button>
|
||||
))}
|
||||
{searchableProjectDevices.length === 0 ? <p className="notice muted">Keine passenden Projektgeräte gefunden.</p> : null}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue