fix link to exam

This commit is contained in:
Primakov Alexandr Alexandrovich 2024-09-01 16:11:08 +03:00
parent efc359ce7e
commit 250feff2f4

View File

@ -34,7 +34,7 @@ export const CourseDetails = ({ populatedCourse }: CourseDetailsProps) => {
leftIcon={<LinkIcon />}
as={'a'}
colorScheme="blue"
href={getNavigationsValue('exam.main') + getNavigationsValue('link.exam.details').replace('courseId', populatedCourse.id).replace('examId', exam.id)}
href={getNavigationsValue('exam.main') + getNavigationsValue('link.exam.details').replace(':courseId', populatedCourse.id).replace(':examId', exam.id)}
>
Открыть
</Button>