Browse Source

Fixed Activity.Description not being loaded for AttendancePanel

Kenric Nugteren 2 weeks ago
parent
commit
ba899a4a52
1 changed files with 2 additions and 1 deletions
  1. 2 1
      prs.desktop/Panels/Attendance/AttendancePanel.xaml.cs

+ 2 - 1
prs.desktop/Panels/Attendance/AttendancePanel.xaml.cs

@@ -186,7 +186,8 @@ namespace PRSDesktop
                     Columns.None<Activity>()
                         .Add(x => x.ID)
                         .Add(x => x.IsLeave)
-                        .Add(x => x.IsDefault)));
+                        .Add(x => x.IsDefault)
+                        .Add(x => x.Description)));
             
             Employees = data.Get<Employee>();
             Activities = data.Get<Activity>();