Commit 4d8348bb authored by Adrià Labay's avatar Adrià Labay
Browse files

hide show full page for unstructured exams

parent b57294d0
......@@ -29,7 +29,7 @@ class Grade extends React.Component {
const partialState = {
submissions: metadata.submissions,
problems: metadata.problems,
isUnstructured: metadata.layout.value === 2,
isUnstructured: metadata.layout.value === 'unstructured',
examID: this.props.examID,
gradeAnonymous: metadata.gradeAnonymous
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