1 Commits

Author SHA1 Message Date
Primakov Alexandr Alexandrovich
22a9199d9d no attendance link if no nav element 2024-11-06 12:59:24 +03:00

View File

@@ -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>
)}