From 1e6e21200a63697f41b710463b458086cb929f09 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sat, 7 Dec 2019 13:49:50 -0500 Subject: [PATCH] [O] Fill new array with null --- src/logic/course.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/logic/course.ts b/src/logic/course.ts index 2724572..9dd997e 100644 --- a/src/logic/course.ts +++ b/src/logic/course.ts @@ -130,7 +130,7 @@ export default class Course } else this.level = 'Unknown'; - this.termGrading = new Array(4); + this.termGrading = new Array(4).fill(null); } /** @@ -189,7 +189,7 @@ export default class Course } /** - * Get assignments of the selected time + * Get assignments of the selected grading periods */ get assignments(): Assignment[] {