forked from jappel/leistungsbilanz-ts
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
b6e50539ad
commit
961c96f7a1
2 changed files with 2 additions and 2 deletions
|
|
@ -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