@using Koogle.Web.Store.ClubState @inherits FluxorComponent @inject IState AuthState @inject IState ClubState @inject NavigationManager NavigationManager @* Dashboard - visible to all authenticated users *@ Dashboard @if (AuthState.Value.IsAuthenticated && HasSelectedClub) { @* Club-specific navigation - requires selected club *@ Spieltage @if (AuthState.Value.IsClubEditor || AuthState.Value.IsSuperAdmin) { Personen Strafen Auslöser } } @if (AuthState.Value.IsClubEditor || AuthState.Value.IsSuperAdmin) { @if (AuthState.Value.IsSuperAdmin) { Vereine Benutzer Auslöser } } @* Profile - visible to all authenticated users *@ @if (AuthState.Value.IsAuthenticated) { Profil } @code { private bool HasSelectedClub => AuthState.Value.CurrentClub != null; }