From 6910a7b5ea23769abf836d0866ebd8cc1803569c Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Tue, 1 Oct 2019 18:30:20 -0400 Subject: [PATCH] [F] Fix null pointer caused by grading not existing --- src/utils/course-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/course-utils.ts b/src/utils/course-utils.ts index 5d0547d..639c496 100644 --- a/src/utils/course-utils.ts +++ b/src/utils/course-utils.ts @@ -26,7 +26,7 @@ export class CourseUtils if (course.assignments.length == 0) return; // Skip if there are no grading scale - if (course.grading.method == 'NOT_GRADED') return; + // if (course.grading.method == 'NOT_GRADED') return; // Add it to the list result.push(course);