Skip to content

Commit

Permalink
#443 - Fix processing events on summary.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed Nov 26, 2022
1 parent e91cb3a commit 7862d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Money.Blazor.Host/Pages/Summary.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ async Task IEventHandler<IncomeDeleted>.HandleAsync(IncomeDeleted payload)

private async void OnMonthUpdatedEvent(DateTime changed)
{
if (!IsContained(changed))
if (Periods != null && !IsContained(changed))
IsPeriodReloadRequired = true;

await LoadSelectedPeriodAsync();
Expand Down

0 comments on commit 7862d01

Please sign in to comment.