Remove the 'is_graded' filter. The api will ensure all subsection grades we get are 'is_graded=true'

This commit is contained in:
Rick Reilly
2019-01-23 13:34:50 -05:00
parent 93be5329ca
commit c4fe803a95
2 changed files with 2 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ const headingMapper = (filterKey) => {
}];
const assignmentHeadings = entry.section_breakdown
.filter(section => section.is_graded && section.label)
.filter(section => section.label)
.map(s => ({
label: s.label,
key: s.label,
@@ -100,7 +100,7 @@ const headingMapper = (filterKey) => {
}];
const assignmentHeadings = entry.section_breakdown
.filter(section => section.is_graded && section.label && section.category === filterKey)
.filter(section => section.label && section.category === filterKey)
.map(s => ({
label: s.label,
key: s.label,