Proposal: cable-sizing module (on-demand DIN VDE 0298-4 cross-section calculator) #1

Open
Grovy311 wants to merge 10 commits from Grovy311/leistungsbilanz-ts:feature/cable-sizing-module into main
2 changed files with 2 additions and 2 deletions
Showing only changes of commit d22f150cbe - Show all commits

View file

@ -1228,7 +1228,7 @@ a.kpi:hover {
}
.tree-grid .cell-cable-sizing-trigger::after {
content: " ";
content: " 🧮";
font-size: 0.8em;
opacity: 0.7;
}

View file

@ -4277,7 +4277,7 @@ export function CircuitTreeEditor(props: { projectId: string; circuitListId: str
row.rowType !== "deviceRow"
);
const isCableSizingTrigger = Boolean(
column.key === "cableSummary" &&
(column.key === "cableSummary" || column.key === "cableCrossSection") &&
row.circuit &&
row.rowType !== "deviceRow"
);