there was no check for if a submission has not yet
been graded yet and that nil score would be used
to calculate score to show
Test Plan:
- Enable the feature option "restrict view of quantitative data" at the account level and course level
- As a student, access that assignment and submit to it
- As that student, navigate to the submissions page through the grades or assignment page
- Notice that the ungraded submission has a grade: "-"
fixes EVAL-3801
flag=none
Change-Id: I784578bc520c66be0cd5c1518978bf949956c466
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/344877
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Kai Bjorkman <kbjorkman@instructure.com>
Product-Review: Ravi Koll <ravi.koll@instructure.com>