1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

game log reader reads async now.

should have done that a long time ago
update profile page to have a bit better space usage
This commit is contained in:
RaidMax
2019-03-09 10:28:04 -06:00
parent 98fba114f5
commit 86bc3a42ac
11 changed files with 110 additions and 114 deletions

View File

@ -87,7 +87,7 @@ namespace SharedLibraryCore.Services
//entity.CurrentServer.Logger.WriteDebug($"Updating alias link for {entity}");
await context.SaveChangesAsync();
foreach (var alias in aliases.Union(new List<EFAlias>() { entity.CurrentAlias })
foreach (var alias in aliases.Append(entity.CurrentAlias)
.Where(_alias => !_alias.Active ||
_alias.LinkId != aliasLink.AliasLinkId))
{