Skip to content

Commit

Permalink
#207 - Fix summary reload when empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed Jan 26, 2019
1 parent 0388f18 commit 092fee7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Money.UI.Universal/Views/Summary.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,11 @@ public Task HandleAsync(OutcomeCreated payload)
if (!ViewModel.Items.Any(g => g.Parameter.Equals(other)))
isReloadRequired = true;
}
else
{
if (!ViewModel.Items.Any())
isReloadRequired = true;
}

if (isReloadRequired)
ReloadAsync();
Expand Down

0 comments on commit 092fee7

Please sign in to comment.