diff --git a/src/app/presence-control/services/presence-control-state.service.ts b/src/app/presence-control/services/presence-control-state.service.ts index 0d8c3c2b1..03b3f5f40 100644 --- a/src/app/presence-control/services/presence-control-state.service.ts +++ b/src/app/presence-control/services/presence-control-state.service.ts @@ -112,7 +112,7 @@ export class PresenceControlStateService .pipe(shareReplay(1)); selectedLessonStudentIds$ = combineLatest([ - this.selectLesson$, + this.selectedLesson$, this.lessonPresences$, ]).pipe( map(([lesson, presences]) => { diff --git a/src/app/shared/services/lesson-teachers-rest.service.ts b/src/app/shared/services/lesson-teachers-rest.service.ts index cc49c89cd..54aafd892 100644 --- a/src/app/shared/services/lesson-teachers-rest.service.ts +++ b/src/app/shared/services/lesson-teachers-rest.service.ts @@ -18,7 +18,8 @@ export class LessonTeachersRestService extends RestService< } /** - * Returns all lesson absences for all teachers expect for the given teacher for the current lesson corresponding students + * Returns all lesson absences for the current lesson and the specified students + * for all teachers except the specified teacher. */ loadOtherTeachersLessonAbsences( personId: number,