Admin notes bugfixes (#18189)
This commit is contained in:
committed by
GitHub
parent
703f3d8bc6
commit
b4b0fe41db
@@ -31,6 +31,13 @@ public sealed class BanListEui : BaseEui
|
||||
_admins.OnPermsChanged += OnPermsChanged;
|
||||
}
|
||||
|
||||
public override void Closed()
|
||||
{
|
||||
base.Closed();
|
||||
|
||||
_admins.OnPermsChanged -= OnPermsChanged;
|
||||
}
|
||||
|
||||
public override EuiStateBase GetNewState()
|
||||
{
|
||||
return new BanListEuiState(BanListPlayerName, Bans);
|
||||
@@ -42,10 +49,6 @@ public sealed class BanListEui : BaseEui
|
||||
{
|
||||
Close();
|
||||
}
|
||||
else
|
||||
{
|
||||
StateDirty();
|
||||
}
|
||||
}
|
||||
|
||||
private async Task LoadFromDb()
|
||||
|
||||
Reference in New Issue
Block a user