Fix max students bug when adding multiple classes
This commit is contained in:
parent
2c59b93402
commit
f88941993c
|
@ -359,7 +359,7 @@ export function InstructorClassList(props) {
|
||||||
requester('/sessions/', 'POST', token, data)
|
requester('/sessions/', 'POST', token, data)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
setSuccess(res.id);
|
setSuccess(res.id);
|
||||||
setInput({});
|
setInput({ max_students: null });
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
setError(false);
|
setError(false);
|
||||||
setOpen(false);
|
setOpen(false);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user