the raid roles now have a fixed order
This commit is contained in:
parent
9246e1ab78
commit
2e92bdee5f
4 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
<div>
|
||||
<table class="table">
|
||||
<tbody>
|
||||
@foreach (var role in _raid.Roles)
|
||||
@foreach (var role in _raid.Roles.OrderBy(r => r.PlannedRaidRoleId))
|
||||
{
|
||||
Models.GuildWars2.Raid.RaidSignUp[] signUps = _raid.SignUps.Where(s => s.PlannedRaidRoleId == role.PlannedRaidRoleId).ToArray();
|
||||
int usedSpots = signUps.Where(s => s.SignUpType == SignUpType.SignedUp).Count();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue