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
No related branches found
No related tags found
No related merge requests found
...@@ -230,7 +230,10 @@ export function LectureListItem({ ...@@ -230,7 +230,10 @@ export function LectureListItem({
> >
<span className="bi bi-play" /> <span className="bi bi-play" />
<Link <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} {chapter.name}
</Link> </Link>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment