mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
[CourseStats] Fix barchart years direction
This commit is contained in:
@@ -390,6 +390,7 @@ export const SingleCourseStats = ({
|
||||
}
|
||||
}
|
||||
)
|
||||
.sort((a, b) => a.code - b.code) // Needs to be sorted back to ASC so that years on the barchart go from left to right
|
||||
|
||||
const totals = countTotalStats(formattedStats)
|
||||
const programmeStats: ProgrammeStats = {
|
||||
|
||||
Reference in New Issue
Block a user