+
+
+ {data.courseInfo?.name}
+
+ {data.students.length} студентов • {data.teachers.length} преподавателей
+
+
+
+ : }
+ onClick={toggleColorMode}
+ variant="ghost"
+ size="lg"
+ />
+
- const wasThere = Boolean(lesson.teachers) &&
- lesson?.teachers?.findIndex((u) => u.sub === teacher.sub) !== -1
- return (
-
- {wasThere ? '+' : '-'}
- |
- )
- })}
- {dayjs(lesson.date).format('DD.MM.YYYY')} |
- {} |
-
- {data.students.map((st) => {
- const wasThere =
- lesson.students.findIndex((u) => u.sub === st.sub) !== -1
- return (
-
- {wasThere ? '+' : '-'}
- |
- )
- })}
-