From 4a32edef1a69629575507afb949a9e0d69eb7836 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Mon, 8 Jun 2026 12:39:23 -0400 Subject: [PATCH] fix(uns): re-entrancy guard + clear stale error + PageTitle on GlobalUns (review) --- .../Components/Pages/Uns/GlobalUns.razor | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor index 3410789a..a1e813cc 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/Uns/GlobalUns.razor @@ -5,6 +5,8 @@ @using ZB.MOM.WW.OtOpcUa.AdminUI.Components.Shared.Uns @inject IUnsTreeService Svc +UNS +

UNS

Changes apply on the next deployment. @@ -58,10 +60,13 @@ /// private async Task ToggleAsync(UnsNode node) { + if (node.Loading) return; + node.Expanded = !node.Expanded; if (node.Kind == UnsNodeKind.Equipment && node.Expanded && !node.Loaded) { + node.Error = null; node.Loading = true; StateHasChanged(); try