padavans length
This commit is contained in:
parent
19b742e85e
commit
d7637f68cc
@ -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>
|
||||
))}
|
||||
|
Loading…
Reference in New Issue
Block a user