From f3174d23b4353776cbfe115e5f424d278501e678 Mon Sep 17 00:00:00 2001 From: Stanley Dimant Date: Fri, 22 Nov 2024 16:49:52 +0100 Subject: [PATCH] fix admin ui bla --- MareSynchronos/UI/SyncshellAdminUI.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MareSynchronos/UI/SyncshellAdminUI.cs b/MareSynchronos/UI/SyncshellAdminUI.cs index 07ca119..17400b9 100644 --- a/MareSynchronos/UI/SyncshellAdminUI.cs +++ b/MareSynchronos/UI/SyncshellAdminUI.cs @@ -348,7 +348,8 @@ public class SyncshellAdminUI : WindowMediatorSubscriberBase ImGui.TableNextColumn(); UiSharedService.TextWrapped(bannedUser.Reason); ImGui.TableNextColumn(); - if (UiSharedService.NormalizedIconTextButton(FontAwesomeIcon.Check, "Unban#" + bannedUser.UID)) + using var pushId = ImRaii.PushId(bannedUser.UID); + if (UiSharedService.NormalizedIconTextButton(FontAwesomeIcon.Check, "Unban")) { _ = _apiController.GroupUnbanUser(bannedUser); _bannedUsers.RemoveAll(b => string.Equals(b.UID, bannedUser.UID, StringComparison.Ordinal));