[+] Initialize grading as empty array
This commit is contained in:
+1
-1
@@ -101,7 +101,7 @@ export default class Course
|
||||
}
|
||||
else this.level = 'Unknown';
|
||||
|
||||
this.grading = courseJson.grading;
|
||||
this.grading = new Array(4);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user