no JSON stringify in attendance

This commit is contained in:
Primakov Alexandr Alexandrovich
2024-12-12 16:00:49 +03:00
parent 2fe7600ef3
commit 7d6f2a4ca0
3 changed files with 1 additions and 14 deletions

View File

@@ -63,7 +63,7 @@ export const Attendance = () => {
<th>Дата</th>
<th>Название занятия</th>
{data.students.map((student) => (
<th id={student.id || student.sub} key={student.sub}>{student.name || JSON.stringify(student.value) || 'Имя не определено'}</th>
<th id={student.id || student.sub} key={student.sub}>{student.name || student.value || 'Имя не определено'}</th>
))}
</tr>
</thead>