plc_control/web
caoqianming d88d8375fd fix(frontend): pre-select active unit when opening new equipment modal
When a unit is selected in the sidebar, the create-equipment modal now
pre-fills the unit dropdown with that unit. Previously it always reset
to empty, so newly created equipment got unit_id=null and was hidden by
the unit filter after save.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 16:35:33 +08:00
..
html refactor(control): align point roles and equipment kind 2026-03-24 13:17:53 +08:00
js fix(frontend): pre-select active unit when opening new equipment modal 2026-03-24 16:35:33 +08:00
index.html refactor(web): split index html into flat fragments 2026-03-23 14:14:19 +08:00
styles.css feat(web): auto-toast on API errors with dismissible notifications 2026-03-24 13:43:57 +08:00