fix events filter

This commit is contained in:
tree🌴 2024-03-02 18:17:22 +01:00
parent abfa34fff8
commit cfff50e7d2

View file

@ -97,7 +97,7 @@ places = places.sort((x, y) => x.num < y.num ? 1 : -1)
<img src="/events-map.svg" class="w-full" />
</div-->
{upcoming.length > 0}
{upcoming.length > 0 &&
<div>
<h1 id="upcoming">Upcoming {title} ({upcoming.length})</h1>
<div class="mb-10">
@ -106,6 +106,7 @@ places = places.sort((x, y) => x.num < y.num ? 1 : -1)
))}
</div>
</div>
}
{pastTotal > 0 &&
<div>