Skip to content

Commit e94b4bd

Browse files
committed
EGC-465: Small fix
1 parent 6edaf49 commit e94b4bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/assessments/reports/AssessmentReports.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ export default {
363363
this.sessionSearchNames = sortBy(this.sessions, ['sessionCourseYear','sessionCourseMonth']);
364364
365365
const approvedSessions = this.schoolYearSessions.filter(session =>
366-
!session.isOpen && parseInt(session.courseYear) >= sessionYearMinusTwo
366+
session.completionDate !== null && parseInt(session.courseYear) >= sessionYearMinusTwo
367367
);
368368
369369
if (approvedSessions.length > 0) {

0 commit comments

Comments
 (0)