mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Only show the current question for teacher mode
This commit is contained in:
parent
226cc24532
commit
b49057a8ff
1 changed files with 5 additions and 1 deletions
|
|
@ -472,7 +472,11 @@ const ManageRoom: React.FC = () => {
|
|||
|
||||
<div style={{ display: 'flex', flexDirection: 'column' }}>
|
||||
<div className="title center-h-align mb-2">{quiz?.title}</div>
|
||||
<strong className='number of questions'>Question {Number(currentQuestion?.question.id)}/{quizQuestions?.length}</strong>
|
||||
{!isNaN(Number(currentQuestion?.question.id)) && (
|
||||
<strong className='number of questions'>
|
||||
Question {Number(currentQuestion?.question.id)}/{quizQuestions?.length}
|
||||
</strong>
|
||||
)}
|
||||
|
||||
{quizMode === 'teacher' && (
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue