diff --git a/src/assets/wise5/classroomMonitor/student-grading/student-grading.component.ts b/src/assets/wise5/classroomMonitor/student-grading/student-grading.component.ts index 60156b4fa83..76a2775b166 100644 --- a/src/assets/wise5/classroomMonitor/student-grading/student-grading.component.ts +++ b/src/assets/wise5/classroomMonitor/student-grading/student-grading.component.ts @@ -133,7 +133,7 @@ export class StudentGradingComponent implements OnInit { private subscribeToCurrentWorkgroupChanged(): void { this.subscriptions.add( this.dataService.currentWorkgroupChanged$ - .pipe(filter((workgroup) => workgroup != null)) + .pipe(filter(({ currentWorkgroup }) => currentWorkgroup != null)) .subscribe(({ currentWorkgroup }) => { const workgroupId = currentWorkgroup.workgroupId; if (this.workgroupId !== workgroupId) {