Commit 68af6d43 authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

Merge branch '534-problems-with-adding-students' into 'master'

Hide student tab if no exam is selected

Closes #534

See merge request zesje/zesje!323
parents 3958ce4c e8250501
......@@ -210,7 +210,10 @@ class NavBar extends React.Component {
to={`/exams/${this.state.examID}/scans`}
text='Scans'
predicate={[predicateNoExam, predicateExamNotFinalized]} />
<Link className='navbar-item' to={`/exams/${this.state.examID}/students`}>Students</Link>
<TooltipLink
to={`/exams/${this.state.examID}/students`}
text='Students'
predicate={[predicateNoExam]} />
<TooltipLink
to={`/exams/${this.state.examID}/grade`}
text={<strong><i>Grade</i></strong>}
......
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