Add students emails to UI
This commit is contained in:
parent
ca54c48d39
commit
50a5435dbc
|
@ -90,6 +90,18 @@ export function InstructorClassAttendance(props) {
|
||||||
<div>
|
<div>
|
||||||
<Header size='medium'>Instructor Panel</Header>
|
<Header size='medium'>Instructor Panel</Header>
|
||||||
|
|
||||||
|
<Header size='small'>Student Emails</Header>
|
||||||
|
|
||||||
|
|
||||||
|
{clazz.students.length ?
|
||||||
|
clazz.students
|
||||||
|
.filter(x => x.attendance_status !== 'Withdrawn')
|
||||||
|
.map(x => x.student_email)
|
||||||
|
.join('; ')
|
||||||
|
:
|
||||||
|
<p>No students yet.</p>
|
||||||
|
}
|
||||||
|
|
||||||
<Header size='small'>Mark Attendance</Header>
|
<Header size='small'>Mark Attendance</Header>
|
||||||
|
|
||||||
{clazz.students.length ?
|
{clazz.students.length ?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user