manual add for teacher only

This commit is contained in:
Primakov Alexandr Alexandrovich 2024-12-15 17:20:16 +03:00
parent d4b7d0616e
commit 789d2ed6ca

View File

@ -149,7 +149,7 @@ const LessonDetail = () => {
<QRCanvas ref={canvRef} /> <QRCanvas ref={canvRef} />
</a> </a>
<StudentList> <StudentList>
{studentsArr.map((student) => ( {isTeacher(user) && studentsArr.map((student) => (
<UserCard <UserCard
wrapperAS="li" wrapperAS="li"
key={student.sub} key={student.sub}