Reworked random raids to be randomizable multiple times

This commit is contained in:
t.ruspekhofer 2022-03-13 17:21:17 +01:00
parent dd79b0e333
commit 6e4dce5b1f
9 changed files with 249 additions and 83 deletions

View file

@ -49,7 +49,7 @@
}
else
{
<RaidRolesPlanned _raid=@_raid _user=@_user/>
<RaidRolesRandom _raid=@_raid _user=@_user/>
}
}
else
@ -65,7 +65,7 @@
<span class="oi oi-plus" aria-hidden="true"></span> Edit
</NavLink>
</div>
@if(_raid.RaidType != RaidType.Planned && !_raid.IsRandomized)
@if(_raid.RaidType != RaidType.Planned)
{
<button type=button @onclick="() => RandomizeClicked()">Randomize</button>
}