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

update prompt utility functions for issue #65

tweaks to alias stuff
fix bug with bots not showing
This commit is contained in:
RaidMax
2018-12-30 18:13:13 -06:00
parent 0e2ad04dad
commit 7aad7cdc5e
5 changed files with 56 additions and 20 deletions

View File

@ -131,7 +131,9 @@ namespace SharedLibraryCore.Services
LinkId = aliasLink.AliasLinkId,
Name = name
};
context.Aliases.Add(entity.CurrentAlias);
entity.AliasLink.Children.Add(entity.CurrentAlias);
await context.SaveChangesAsync();
}
@ -149,6 +151,7 @@ namespace SharedLibraryCore.Services
};
entity.AliasLink.Active = true;
context.Aliases.Add(entity.CurrentAlias);
entity.AliasLink.Children.Add(entity.CurrentAlias);
await context.SaveChangesAsync();