no attendance link if no nav element
This commit is contained in:
parent
e56f0e4e5d
commit
22a9199d9d
@ -57,7 +57,12 @@ export const CourseCard = ({ course }: { course: Course }) => {
|
|||||||
<CourseDetails populatedCourse={populatedCourse.data} />
|
<CourseDetails populatedCourse={populatedCourse.data} />
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<Tooltip label="На страницу с лекциями" fontSize="12px" top="16px">
|
{getNavigationsValue('link.journal.attendance') && (
|
||||||
|
<Tooltip
|
||||||
|
label="На страницу с лекциями"
|
||||||
|
fontSize="12px"
|
||||||
|
top="16px"
|
||||||
|
>
|
||||||
<Button
|
<Button
|
||||||
leftIcon={<LinkIcon />}
|
leftIcon={<LinkIcon />}
|
||||||
as={ConnectedLink}
|
as={ConnectedLink}
|
||||||
@ -72,6 +77,7 @@ export const CourseCard = ({ course }: { course: Course }) => {
|
|||||||
Посещаемость
|
Посещаемость
|
||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
)}
|
||||||
</Stack>
|
</Stack>
|
||||||
</CardBody>
|
</CardBody>
|
||||||
)}
|
)}
|
||||||
|
Loading…
Reference in New Issue
Block a user