From 79b23458341fd587d78a0acd96eba38301ef90fc Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Fri, 29 May 2026 09:58:05 -0400 Subject: [PATCH] fix(adminui): disable RoleGrants buttons during save (review) --- .../ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/RoleGrants.razor | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/RoleGrants.razor b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/RoleGrants.razor index 7afc3d69..4ba3abfa 100644 --- a/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/RoleGrants.razor +++ b/src/Server/ZB.MOM.WW.OtOpcUa.AdminUI/Components/Pages/RoleGrants.razor @@ -126,6 +126,7 @@ _error = null; if (string.IsNullOrWhiteSpace(_newGroup)) { _error = "LDAP group is required."; return; } _busy = true; + StateHasChanged(); try { await RoleMappings.CreateAsync(new LdapGroupRoleMapping @@ -143,6 +144,7 @@ private async Task DeleteAsync(Guid id) { _error = null; _busy = true; + StateHasChanged(); try { await RoleMappings.DeleteAsync(id, default); await ReloadAsync(); } catch (Exception ex) { _error = ex.Message; } finally { _busy = false; }