refactor(adminui): hand /drivers routes to DriverTypePicker + DriverEditRouter
Removes both @page directives from DriverEdit.razor. The picker owns
/drivers/new; the router owns /drivers/{id} and dispatches via
DynamicComponent (currently falls back to DriverEdit for every driver
type — Phase 4 populates the type map one driver at a time).
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
@page "/clusters/{ClusterId}/drivers/new"
|
|
||||||
@page "/clusters/{ClusterId}/drivers/{DriverInstanceId}"
|
|
||||||
@* Per Q1 of the AdminUI rebuild plan — JSON editor only, typed driver editors deferred.
|
@* Per Q1 of the AdminUI rebuild plan — JSON editor only, typed driver editors deferred.
|
||||||
DriverInstance is the keystone for everything downstream (Equipment, Tag, VirtualTag,
|
DriverInstance is the keystone for everything downstream (Equipment, Tag, VirtualTag,
|
||||||
ScriptedAlarm all reference DriverInstanceId), so this is the second edit page after
|
ScriptedAlarm all reference DriverInstanceId), so this is the second edit page after
|
||||||
|
|||||||
Reference in New Issue
Block a user