unknown name if no name

This commit is contained in:
Primakov Alexandr Alexandrovich 2024-12-12 12:12:19 +03:00
parent d44a511a3d
commit 956fdec7f5

View File

@ -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>