diff options
author | Nathan Wang | 2020-07-20 12:17:12 -0700 |
---|---|---|
committer | Nathan Wang | 2020-07-20 12:17:12 -0700 |
commit | b43e5f5a3e607ee54c00f0f3b9a30c57eebe704e (patch) | |
tree | 754f4a12f684906a26671dd1f7b99d6e96e1b998 | |
parent | 8adf799f12c32b711251c2875082dec28e37aaa2 (diff) |
fix incorrect total problem count on section dashboards
-rw-r--r-- | src/templates/syllabusTemplate.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates/syllabusTemplate.tsx b/src/templates/syllabusTemplate.tsx index 35a02fd..5d93ad6 100644 --- a/src/templates/syllabusTemplate.tsx +++ b/src/templates/syllabusTemplate.tsx @@ -124,7 +124,7 @@ export default function Template(props) { <div className="mt-6"> <DashboardProgress {...problemsProgressInfo} - total={section.length} + total={problemIDs.length} /> </div> </div> |