padavans length

This commit is contained in:
Primakov Alexandr Alexandrovich 2023-04-17 19:41:52 +03:00
parent 19b742e85e
commit d7637f68cc

View File

@ -66,9 +66,10 @@ export const Journal = () => {
<ul style={{ paddingLeft: 0 }}>
{lessons?.map((lesson) => (
<LessonItem key={lesson.id}>
<Link to={`/journal/l/${lesson.id}`}>
<Link to={`/journal/l/${lesson.id}`} style={{ display: 'flex' }}>
<Lessonname>{lesson.name}</Lessonname>
<span>{dayjs(lesson.ts).format('DD MMMM YYYYг.')}</span>
<span style={{ marginLeft: 'auto' }}>Участников - {lesson.padavans.length}</span>
</Link>
</LessonItem>
))}