fix(adminui,cli): /raw device-name placeholder + no-prerender tree, CLI read prints Bad status (#577)
Claude-Session: https://claude.ai/code/session_01Ef2ozxS7QPanGT8uoATbTe
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
@page "/raw"
|
||||
@attribute [Authorize(Policy = AdminUiPolicies.ConfigEditor)]
|
||||
@rendermode RenderMode.InteractiveServer
|
||||
@* prerender: false (#577 "first tree click ignored"): with prerender on, the server-rendered tree is shown
|
||||
before the circuit attaches, so a click on its (handler-less) twists is silently dropped, and the
|
||||
component then re-runs OnInitializedAsync and swaps in a second, freshly loaded node set. The tree
|
||||
is the only content here and needs the circuit anyway, so render it once, interactively. *@
|
||||
@rendermode @(new InteractiveServerRenderMode(prerender: false))
|
||||
@using ZB.MOM.WW.OtOpcUa.AdminUI.Uns
|
||||
@using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Raw
|
||||
@inject IRawTreeService Svc
|
||||
|
||||
Reference in New Issue
Block a user