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 />} leftIcon={<LinkIcon />}
as={'a'} as={'a'}
colorScheme="blue" 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> </Button>