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()
|
public async Task<IActionResult> PrivilegedAsync()
|
||||||
{
|
{
|
||||||
var admins = (await Manager.GetClientService().GetPrivilegedClients())
|
var admins = (await Manager.GetClientService().GetPrivilegedClients())
|
||||||
.GroupBy(a => a.AliasLinkId)
|
.OrderBy(_client => _client.Name);
|
||||||
.Select(_client => _client.OrderByDescending(_c => _c.LastConnection).First())
|
|
||||||
.OrderByDescending(_client => _client.Level);
|
|
||||||
|
|
||||||
var adminsDict = new Dictionary<EFClient.Permission, IList<ClientInfo>>();
|
var adminsDict = new Dictionary<EFClient.Permission, IList<ClientInfo>>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user