stringify
This commit is contained in:
parent
956fdec7f5
commit
985b8ef315
@ -62,7 +62,7 @@ export const Attendance = () => {
|
||||
<th>Дата</th>
|
||||
<th>Название занятия</th>
|
||||
{data.students.map((student) => (
|
||||
<th id={student.id || student.sub} key={student.sub}>{student.name || student.value || 'Имя не определено'}</th>
|
||||
<th id={student.id || student.sub} key={student.sub}>{student.name || JSON.stringify(student.value) || 'Имя не определено'}</th>
|
||||
))}
|
||||
</tr>
|
||||
</thead>
|
||||
|
Loading…
Reference in New Issue
Block a user