diff --git a/webclient/src/InstructorClasses.js b/webclient/src/InstructorClasses.js index 03ca6a1..0b7febe 100644 --- a/webclient/src/InstructorClasses.js +++ b/webclient/src/InstructorClasses.js @@ -62,7 +62,8 @@ function AttendanceRow(props) { } export function InstructorClassAttendance(props) { - const { clazz, token, refreshClass } = props; + const { clazz, token, refreshClass, user } = props; + const [open, setOpen] = useState(false); const [input, setInput] = useState({}); const [error, setError] = useState(false); const [loading, setLoading] = useState(false); @@ -90,45 +91,52 @@ export function InstructorClassAttendance(props) {
No students yet.
+ } - {clazz.students.length ? - clazz.students - .filter(x => x.attendance_status !== 'Withdrawn') - .map(x => x.student_email) - .join('; ') +No students yet.
+ } + +No students yet.
+ } - -No students yet.
- } - -