Skip to content

Commit

Permalink
[BUG] NullReferenceException z GivenPointsSummary.LoadData() #45
Browse files Browse the repository at this point in the history
  • Loading branch information
Harvey1214 committed Jul 3, 2023
1 parent 3bb4b10 commit 23c3e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web.Client/Components/GivenPointsSummary.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected override async Task OnParametersSetAsync()

private async Task LoadData()
{
if (PeriodId != null)
if (PeriodId != null && employees is not null)
{
var entries = await EntryFacade.GetMyGivenEntriesAsync(Dto.FromValue(PeriodId.Value));

Expand Down

0 comments on commit 23c3e7e

Please sign in to comment.