File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -487,12 +487,12 @@ function AssignmentTable (props) {
487
487
? [ { color : 'green' , value : a . goalGrade , draggable : true } ]
488
488
: [ ]
489
489
}
490
- description = { `This assignment is worth ${ a . percentOfFinalGrade } % of your grade.
491
- Points possible: ${ a . pointsPossible } .
492
- Your goal: ${ ( a . goalGrade ? a . goalGrade : 'None' ) } .
493
- Your grade: ${ ( a . grade ? a . grade : 'Not graded' ) } .
494
- Class average: ${ a . averageGrade } .
495
- Rules: ${ ( a . rules ? a . rules : 'There are no rules for this assignment' ) } . ` }
490
+ description = { `Your goal: ${ ( a . goalGradeSetByUser ? roundToXDecimals ( a . goalGrade , placeToRoundTo ( a . outOf ) ) : 'None' ) } .
491
+ Points possible: ${ a . pointsPossible } . Rules: ${ ( a . rules ? a . rules : 'There are no rules for this assignment' ) } .
492
+ ${ a . graded
493
+ ? ` Your grade: ${ roundToXDecimals ( a . currentUserSubmission . score , placeToRoundTo ( a . outOf ) ) } .
494
+ Class average: ${ roundToXDecimals ( a . averageGrade , placeToRoundTo ( a . outOf ) ) } .`
495
+ : '' } `}
496
496
onBarFocus = { el => setPopoverEl ( key , el ) }
497
497
onBarBlur = { clearPopoverEl }
498
498
/>
You can’t perform that action at this time.
0 commit comments