Skip to content

Commit

Permalink
Merge pull request #62 from eddex/showFutureModulesInChart
Browse files Browse the repository at this point in the history
Show future modules in chart
  • Loading branch information
eddex authored Apr 4, 2020
2 parents 9a76fb0 + 0237e29 commit 0470431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ function createChart(div, modules) {

// calculate how many credits were achieved for each semester
modules.forEach(m => {
if (m.passed && m.semester != undefined) {
if (m.grade != 'F' && m.semester != undefined) {
creditsDoneBySemesterCount[m.semester] += Number(m.credits);
}
})
Expand Down

0 comments on commit 0470431

Please sign in to comment.