Skip to content
Snippets Groups Projects
Verified Commit 01ebc283 authored by Dorian Koch's avatar Dorian Koch
Browse files

Fix chapter link in search results, closes #62

parent 7ac679bf
Branches
No related tags found
No related merge requests found
......@@ -230,7 +230,10 @@ export function LectureListItem({
>
<span className="bi bi-play" />
<Link
href={`/${course_id_string}/${lecture.id}?t=` + chapter.start_time}
href={
`/${course_id_string ?? lecture.course_id}/${lecture.id}?t=` +
chapter.start_time
}
>
{chapter.name}
</Link>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment