feat: staff may review exam content without attempt (#576)

This commit is contained in:
Zachary Hancock
2021-08-04 13:50:44 -04:00
committed by GitHub
parent 149ca245fd
commit d4a4cd24ec
3 changed files with 5 additions and 5 deletions

6
package-lock.json generated
View File

@@ -1383,9 +1383,9 @@
}
},
"@edx/frontend-lib-special-exams": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/@edx/frontend-lib-special-exams/-/frontend-lib-special-exams-1.11.0.tgz",
"integrity": "sha512-T8b5caCjYgqVstnFlT5o50KnLsMmqIkBUXjwP9OCFlc8wDo2MUuc58nZ0xJUGaL2C0RGbtILPH+pzlXtPubrOw==",
"version": "1.12.0",
"resolved": "https://registry.npmjs.org/@edx/frontend-lib-special-exams/-/frontend-lib-special-exams-1.12.0.tgz",
"integrity": "sha512-JxbsVlAYpmRmeIU8H7ftEvitrB9A54jAvY2uIFltLA2lTosThmjfq7Rf/F9UUGsJNLDHd77Kqtils5AHD3JiJw==",
"requires": {
"@fortawesome/fontawesome-svg-core": "1.2.34",
"@fortawesome/free-brands-svg-icons": "5.11.2",

View File

@@ -38,7 +38,7 @@
"@edx/brand": "npm:@edx/brand-openedx@1.1.0",
"@edx/frontend-component-footer": "10.1.5",
"@edx/frontend-enterprise": "4.2.3",
"@edx/frontend-lib-special-exams": "1.11.0",
"@edx/frontend-lib-special-exams": "1.12.0",
"@edx/frontend-platform": "1.11.0",
"@edx/paragon": "16.5.0",
"@fortawesome/fontawesome-svg-core": "1.2.34",

View File

@@ -244,7 +244,7 @@ function Sequence({
if (sequenceStatus === 'loaded') {
return (
<div>
<SequenceExamWrapper sequence={sequence} courseId={courseId}>
<SequenceExamWrapper sequence={sequence} courseId={courseId} isStaff={course.isStaff}>
{defaultContent}
</SequenceExamWrapper>
<CourseLicense license={course.license || undefined} />