Fix attendance sheet Withdrawn student count

master
Tanner Collin 2 years ago
parent 20122427e7
commit cf6b37b0cf
  1. 2
      webclient/src/InstructorClasses.js

@ -12,7 +12,7 @@ import { MembersDropdown } from './Members.js';
class AttendanceSheet extends React.Component {
render() {
const clazz = this.props.clazz;
const num = clazz.students.length;
const num = clazz.students.filter(x => x.attendance_status !== 'Withdrawn').length;
return (
<div style={{ padding: '3rem', background: 'white', width: '100%', height: '100%' }}>

Loading…
Cancel
Save