Skip to content

Commit

Permalink
Fix false order of videos on course-page by negating predicate (#1145)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasReumann authored Aug 30, 2023
1 parent ed017c5 commit 6eb96ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/template/home.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@
</header>
<section>
<template x-if="courseStreams.hasElements()">
<article class="flex flex-col" :class="{'flex-col-reverse' : isOldestFirst() }">
<article class="flex flex-col" :class="{'flex-col-reverse' : !isOldestFirst() }">
<template
x-for="[m, streams] of Object.entries(courseStreams.get(sortFn(streamSortMode), filterPred(streamFilterMode)))">
<article class="mb-8">
Expand Down

0 comments on commit 6eb96ea

Please sign in to comment.