fix: correctly populate courses property
This commit is contained in:
@@ -111,12 +111,11 @@
|
||||
Organisatorisches
|
||||
</h2>
|
||||
</div>
|
||||
|
||||
<div class="container px-4 lg:px-24 flex flex-col space-y-16 pb-16">
|
||||
<f:for each="{travelinfo.teasers}" as="teaser">
|
||||
<f:if condition="{teaser.category} == 'course'">
|
||||
<f:then>
|
||||
<f:if condition="{date.coursesIncluded}">
|
||||
<f:if condition="{date.coursesIncluded -> f:count()} > 0">
|
||||
<f:render section="Teaser" arguments="{_all}"/>
|
||||
</f:if>
|
||||
</f:then>
|
||||
|
||||
Reference in New Issue
Block a user