mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
fix admin ui bla
This commit is contained in:
parent
d6022bc718
commit
2f8325082f
1 changed files with 2 additions and 1 deletions
|
|
@ -347,7 +347,8 @@ public class SyncshellAdminUI : WindowMediatorSubscriberBase
|
||||||
ImGui.TableNextColumn();
|
ImGui.TableNextColumn();
|
||||||
UiSharedService.TextWrapped(bannedUser.Reason);
|
UiSharedService.TextWrapped(bannedUser.Reason);
|
||||||
ImGui.TableNextColumn();
|
ImGui.TableNextColumn();
|
||||||
if (_uiSharedService.IconTextButton(FontAwesomeIcon.Check, "Unban#" + bannedUser.UID))
|
using var _ = ImRaii.PushId(bannedUser.UID);
|
||||||
|
if (_uiSharedService.IconTextButton(FontAwesomeIcon.Check, "Unban"))
|
||||||
{
|
{
|
||||||
_ = _apiController.GroupUnbanUser(bannedUser);
|
_ = _apiController.GroupUnbanUser(bannedUser);
|
||||||
_bannedUsers.RemoveAll(b => string.Equals(b.UID, bannedUser.UID, StringComparison.Ordinal));
|
_bannedUsers.RemoveAll(b => string.Equals(b.UID, bannedUser.UID, StringComparison.Ordinal));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue