diff --git a/client/views/Exam.jsx b/client/views/Exam.jsx index a85f415c05efe0d6b286bbddc3823ff643fcc546..c7842e9ab7073ef02f5a83d42117fe6b48700d64 100644 --- a/client/views/Exam.jsx +++ b/client/views/Exam.jsx @@ -83,6 +83,7 @@ class Exams extends React.Component { componentDidMount = () => { this.pdfUpdater = setInterval(this.updatePDFs, 1000) + if (this.props.urlID !== this.props.exam.id) this.props.updateExam(this.props.urlID) if (this.props.exam.id) this.updatePDFs() }