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} />
|
||||
)}
|
||||
|
||||
<Tooltip label="На страницу с лекциями" fontSize="12px" top="16px">
|
||||
{getNavigationsValue('link.journal.attendance') && (
|
||||
<Tooltip
|
||||
label="На страницу с лекциями"
|
||||
fontSize="12px"
|
||||
top="16px"
|
||||
>
|
||||
<Button
|
||||
leftIcon={<LinkIcon />}
|
||||
as={ConnectedLink}
|
||||
@ -72,6 +77,7 @@ export const CourseCard = ({ course }: { course: Course }) => {
|
||||
Посещаемость
|
||||
</Button>
|
||||
</Tooltip>
|
||||
)}
|
||||
</Stack>
|
||||
</CardBody>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user