Skip to content

Commit

Permalink
Filter for ClanWar only
Browse files Browse the repository at this point in the history
  • Loading branch information
ProphetLamb committed Jun 21, 2020
1 parent 459149a commit 2ed53a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CrossoutLogViewer.GUI/SessionReview.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private void Button_Popup_Click(object sender, RoutedEventArgs e)

private void SessionCalendar_SessionClick(object sender, SessionClickEventArgs e)
{
var games = DataProvider.GetGames(e.Day.Date, e.Day.Date.AddDays(1).AddMilliseconds(-1));
var games = DataProvider.GetGames(e.Day.Date, e.Day.Date.AddDays(1).AddMilliseconds(-1)).Where(x => x.Mode == GameMode.ClanWars);
UserListControl.ItemsSource = new ObservableCollection<UserModel>(User.ParseUsers(games).Select(x => new UserModel(x)));
}

Expand Down

0 comments on commit 2ed53a6

Please sign in to comment.