Commit bcb83c46 by Muhammad Shoaib

PHX-176

- fixed the issue related to instructor Dashboard lists declined proctored exams as "Timed" type
parent 90fbbd12
......@@ -154,8 +154,8 @@ var edx = edx || {};
}
_.each(data_json.proctored_exam_attempts, function(proctored_exam_attempt) {
if (proctored_exam_attempt.taking_as_proctored) {
if (proctored_exam_attempt.is_sample_attempt) {
if (proctored_exam_attempt.proctored_exam.is_proctored) {
if (proctored_exam_attempt.proctored_exam.is_practice_exam) {
proctored_exam_attempt.exam_attempt_type = gettext('Practice');
} else {
proctored_exam_attempt.exam_attempt_type = gettext('Proctored');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment