Skip to content

Commit

Permalink
closes #200 - consolidate component lifecycle
Browse files Browse the repository at this point in the history
  • Loading branch information
Xopabyteh committed May 23, 2024
1 parent 6f262c7 commit c395f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Web.Client/Components/Pickers/GradePicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ public GradePicker()
this.SortKeySelectorImpl = (c => -c.Id);
}

protected override async Task OnInitializedAsync()
protected override async Task OnParametersSetAsync()
{
await base.OnInitializedAsync();
await base.OnParametersSetAsync();

this.DataImpl = (await GradesDataStore.GetAllAsync())
.Where(g => !ExcludedGrades.Contains((GradeEntry)g.Id))
Expand Down

0 comments on commit c395f3a

Please sign in to comment.