diff --git a/Presence.Desktop/App.axaml b/Presence.Desktop/App.axaml index 54c9d29..a93528d 100644 --- a/Presence.Desktop/App.axaml +++ b/Presence.Desktop/App.axaml @@ -6,5 +6,6 @@ + \ No newline at end of file diff --git a/Presence.Desktop/Presence.Desktop.csproj b/Presence.Desktop/Presence.Desktop.csproj index 33feb38..1db4bb9 100644 --- a/Presence.Desktop/Presence.Desktop.csproj +++ b/Presence.Desktop/Presence.Desktop.csproj @@ -14,6 +14,7 @@ + diff --git a/Presence.Desktop/ViewModels/PresenceViewModel.cs b/Presence.Desktop/ViewModels/PresenceViewModel.cs index 9641aa7..52f3222 100644 --- a/Presence.Desktop/ViewModels/PresenceViewModel.cs +++ b/Presence.Desktop/ViewModels/PresenceViewModel.cs @@ -116,6 +116,7 @@ public class PresenceViewModel : ViewModelBase { if (string.IsNullOrEmpty(SelectedAttendanceType)) return; + UpdatePresences(); var filteredPresences = _presences.Where(a => a.PresenceType == SelectedAttendanceType).ToList(); _presences.Clear(); foreach (var attendance in filteredPresences) diff --git a/Presence.Desktop/Views/PresenceView.axaml b/Presence.Desktop/Views/PresenceView.axaml index 6b48a16..868d278 100644 --- a/Presence.Desktop/Views/PresenceView.axaml +++ b/Presence.Desktop/Views/PresenceView.axaml @@ -30,8 +30,8 @@