Skip to content

Commit

Permalink
fixed recent vods/streams course links not working (#1384)
Browse files Browse the repository at this point in the history
  • Loading branch information
karjo24 authored Oct 17, 2024
1 parent 155d568 commit 987b174
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/template/home.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@
<div class="px-2">
<a class="course text-sm"
:href="livestream.Course.URL()"
@click.prevent="showCourse(livestream.Course.Slug)"
@click.prevent="showCourse(livestream.Course.Slug, livestream.Course.Year, livestream.Course.TeachingTerm)"
x-text="livestream.Course.Name">
</a>
<template x-if="livestream.Stream.HasName()">
Expand Down Expand Up @@ -786,7 +786,7 @@
</a>
<div class="px-1">
<a class="course text-xs"
x-text="course.Name" @click.prevent="showCourse(course.Slug)"
x-text="course.Name" @click.prevent="showCourse(course.Slug, course.Year, course.TeachingTerm)"
:href="course.URL()"
:class="course.LastRecording.HasName() ? 'text-xs' : 'text-sm'"></a>
<template x-if="course.LastRecording.HasName()">
Expand Down

0 comments on commit 987b174

Please sign in to comment.