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

This commit is contained in:
2026-09-13 23:58:38 +02:00
parent eb1b2340b7
commit 3675b70004
5 changed files with 26 additions and 1 deletions
@@ -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);