cable-sizing: trigger on both cable columns, calculator icon

Trigger now matches cableSummary OR cableCrossSection so it still
shows up regardless of which cable-related column a user has visible
(column visibility is a per-browser preference in this app, not fixed
- see docs/cable-sizing-module.md coupling note). Icon changed to a
calculator glyph.
This commit is contained in:
Grovy311 2026-08-07 17:50:26 +02:00
parent b6e50539ad
commit 961c96f7a1
2 changed files with 2 additions and 2 deletions

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"
);