protected override void OnParametersSet() { if (Player != null) { clan = Player.Clan; clanRole = Player.ClanRole; } }
protected override async Task OnInitializedAsync() { session = AuthService.GetSession(); if (session.UserId != null) { clan = Player.Clan; clanRole = Player.ClanRole; await InvokeAsync(StateHasChanged); } }