Don't display captain for individual events
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
Href="@($"/teams/edit?id={team.Id}")"
|
||||
Style="cursor: pointer;">
|
||||
@team
|
||||
@if (isCaptain)
|
||||
@if (isCaptain && team.Event.EventFormat != EventFormat.Individual)
|
||||
{
|
||||
<MudIcon Icon="@AppIcons.Captain" Size="Size.Small" Style="margin-left: 4px;" />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user