This commit is contained in:
Primakov Alexandr Alexandrovich 2024-12-12 15:20:55 +03:00
parent 985b8ef315
commit 2fe7600ef3
3 changed files with 597 additions and 1905 deletions

View File

@ -29,12 +29,13 @@ export const Attendance = () => {
studentsMap.set(student.sub, { studentsMap.set(student.sub, {
...student, ...student,
id: student.sub, 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.family_name} ${student.given_name}`
: student.name || student.email || student.preferred_username || 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 compare = Intl.Collator('ru').compare
const students = [...studentsMap.values()] const students = [...studentsMap.values()]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff