padavans length
This commit is contained in:
parent
19b742e85e
commit
d7637f68cc
@ -66,9 +66,10 @@ export const Journal = () => {
|
|||||||
<ul style={{ paddingLeft: 0 }}>
|
<ul style={{ paddingLeft: 0 }}>
|
||||||
{lessons?.map((lesson) => (
|
{lessons?.map((lesson) => (
|
||||||
<LessonItem key={lesson.id}>
|
<LessonItem key={lesson.id}>
|
||||||
<Link to={`/journal/l/${lesson.id}`}>
|
<Link to={`/journal/l/${lesson.id}`} style={{ display: 'flex' }}>
|
||||||
<Lessonname>{lesson.name}</Lessonname>
|
<Lessonname>{lesson.name}</Lessonname>
|
||||||
<span>{dayjs(lesson.ts).format('DD MMMM YYYYг.')}</span>
|
<span>{dayjs(lesson.ts).format('DD MMMM YYYYг.')}</span>
|
||||||
|
<span style={{ marginLeft: 'auto' }}>Участников - {lesson.padavans.length}</span>
|
||||||
</Link>
|
</Link>
|
||||||
</LessonItem>
|
</LessonItem>
|
||||||
))}
|
))}
|
||||||
|
Loading…
Reference in New Issue
Block a user