feat: exclude group from untis hub
CI / build-and-test (push) Canceled after 0s

This commit is contained in:
admin committed 2026-09-13 23:58:38 +02:00
1 parent eb1b2340b7
commit 3675b70004
5 files changed
+26 -1

No files matched your search

@@ -40,7 +40,7 @@ public sealed class UntisHubService(
public List<UntisHubJobRow> GetRows()
{
var eligibleGroups = groups.GetBySchoolYear(schoolYears.CurrentSchoolYear())
.Where(g => g.WebUntisLessonId is not null)
.Where(g => g.WebUntisLessonId is not null && !g.ExcludedFromUntisHub)
.OrderBy(g => g.Name)
.ToList();
return BuildRows(eligibleGroups, jobStates.GetAll(), DateTime.UtcNow);