fix
This commit is contained in:
parent
985b8ef315
commit
2fe7600ef3
@ -29,12 +29,13 @@ export const Attendance = () => {
|
||||
studentsMap.set(student.sub, {
|
||||
...student,
|
||||
id: student.sub,
|
||||
value: current || (student.family_name && student.given_name
|
||||
value: current.value || (student.family_name && student.given_name
|
||||
? `${student.family_name} ${student.given_name}`
|
||||
: student.name || student.email || student.preferred_username || student.family_name || student.given_name),
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
const compare = Intl.Collator('ru').compare
|
||||
|
||||
const students = [...studentsMap.values()]
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user