don't group admin list by alias id
This commit is contained in:
parent
7f7353c505
commit
fe6fe39800
@ -93,9 +93,7 @@ namespace WebfrontCore.Controllers
|
||||
public async Task<IActionResult> PrivilegedAsync()
|
||||
{
|
||||
var admins = (await Manager.GetClientService().GetPrivilegedClients())
|
||||
.GroupBy(a => a.AliasLinkId)
|
||||
.Select(_client => _client.OrderByDescending(_c => _c.LastConnection).First())
|
||||
.OrderByDescending(_client => _client.Level);
|
||||
.OrderBy(_client => _client.Name);
|
||||
|
||||
var adminsDict = new Dictionary<EFClient.Permission, IList<ClientInfo>>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user