unknown name if no name
This commit is contained in:
parent
d44a511a3d
commit
956fdec7f5
@ -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 || student.value || 'Имя не определено'}</th>
|
||||
))}
|
||||
</tr>
|
||||
</thead>
|
||||
|
Loading…
Reference in New Issue
Block a user