| Дата | Название занятия | {data.students.map((student) => ({student.name || student.value || 'Имя не определено'} | ))}
|---|---|---|
| {dayjs(lesson.date).format('DD.MM.YYYY')} | { |
{data.students.map((st) => {
const wasThere =
lesson.students.findIndex((u) => u.sub === st.sub) !== -1
return (
{wasThere ? '+' : '-'} | ) })}