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:
parent
068ec72fe2
commit
d22f150cbe
2 changed files with 2 additions and 2 deletions
|
|
@ -1228,7 +1228,7 @@ a.kpi:hover {
|
|||
}
|
||||
|
||||
.tree-grid .cell-cable-sizing-trigger::after {
|
||||
content: " ⚡";
|
||||
content: " 🧮";
|
||||
font-size: 0.8em;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue