From 18919855aa158285b00edd6765a47ff138ca6ecb Mon Sep 17 00:00:00 2001 From: Roosted7 <thomasroos@live.nl> Date: Thu, 22 Mar 2018 00:07:52 +0100 Subject: [PATCH] Fix bug that blocks student matching --- client/views/Students.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/views/Students.jsx b/client/views/Students.jsx index ed5c76962..35fc14a47 100644 --- a/client/views/Students.jsx +++ b/client/views/Students.jsx @@ -197,7 +197,7 @@ class CheckStudents extends React.Component { matchStudent = (studID) => { - if(!this.state.submission.length) return; + if(!this.state.submission.list.length) return; let newList = this.state.submission.list; const index = this.state.submission.index; -- GitLab