[F] Include "incomplete" in GPA calculation
This commit is contained in:
@@ -127,7 +127,7 @@ export class GPAUtils
|
|||||||
assignments.forEach(assignment =>
|
assignments.forEach(assignment =>
|
||||||
{
|
{
|
||||||
// If assignment should be displayed
|
// If assignment should be displayed
|
||||||
if (assignment.complete != 'Complete') return;
|
if (!assignment.graded) return;
|
||||||
|
|
||||||
// Record scores
|
// Record scores
|
||||||
score += assignment.score;
|
score += assignment.score;
|
||||||
@@ -153,7 +153,7 @@ export class GPAUtils
|
|||||||
assignments.forEach(assignment =>
|
assignments.forEach(assignment =>
|
||||||
{
|
{
|
||||||
// If assignment should be displayed
|
// If assignment should be displayed
|
||||||
if (assignment.complete != 'Complete') return;
|
if (!assignment.graded) return;
|
||||||
|
|
||||||
// Record scores
|
// Record scores
|
||||||
if (typeScores[assignment.type] == undefined) typeScores[assignment.type] = 0;
|
if (typeScores[assignment.type] == undefined) typeScores[assignment.type] = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user