From d9e0e9f84e14151cebd5dd6340f1845d6fa4c189 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Tue, 1 Oct 2019 18:41:14 -0400 Subject: [PATCH] [F] Fix another null case --- src/components/app/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/app/app.ts b/src/components/app/app.ts index 29ea13d..42b8368 100644 --- a/src/components/app/app.ts +++ b/src/components/app/app.ts @@ -195,7 +195,7 @@ export default class App extends Vue // Check if total-average grade is the same with percent-type grade if (course.numericGrade == GPAUtils.getTotalMeanAverage(course)) { - course.grading.method = 'TOTAL_AVERAGE'; + course.grading = {method: 'TOTAL_AVERAGE', weightingMap: {}}; } else {