Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
fix(schedule): use uid when assigning students
Browse files Browse the repository at this point in the history
  • Loading branch information
rhahao authored Mar 16, 2022
1 parent ed548a3 commit e9c24ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/schedule/ScheduleDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ const ScheduleDetails = (props) => {
const assType = selectedStudent.assType;
var studentID = undefined;
if (typeof selectedStudent.studentId !== 'undefined') {
studentID = parseInt(selectedStudent.studentId, 10);
studentID = selectedStudent.studentId;
}
const studentName = selectedStudent.studentName;

Expand Down

0 comments on commit e9c24ed

Please sign in to comment.