Skip to content

Commit

Permalink
Fix link to absences section of student dossier when navigating from …
Browse files Browse the repository at this point in the history
…presence control, refs 348
  • Loading branch information
mfehlmann committed May 17, 2022
1 parent f4a873c commit e9480f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<erz-avatar
*ngIf="!isListViewMode"
[studentId]="studentId$ | async"
[link]="['/presence-control/student', entry.lessonPresence.StudentRef.Id]"
[link]="[
'/presence-control/student',
entry.lessonPresence.StudentRef.Id.toString(),
'absences'
]"
[linkParams]="profileReturnParams"
class="avatar large"
></erz-avatar>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class PresenceControlEntryComponent implements OnChanges {
return [this.entry.presenceCategory, this.viewMode].join(' ');
}

private studentId$ = new ReplaySubject<number>(1);
studentId$ = new ReplaySubject<number>(1);

constructor(
private toastr: ToastrService,
Expand Down

0 comments on commit e9480f3

Please sign in to comment.