mirror of
https://github.com/web3privacy/web
synced 2024-10-15 18:26:27 +02:00
fix events filter
This commit is contained in:
parent
abfa34fff8
commit
cfff50e7d2
1 changed files with 9 additions and 8 deletions
|
@ -97,15 +97,16 @@ places = places.sort((x, y) => x.num < y.num ? 1 : -1)
|
|||
<img src="/events-map.svg" class="w-full" />
|
||||
</div-->
|
||||
|
||||
{upcoming.length > 0}
|
||||
<div>
|
||||
<h1 id="upcoming">Upcoming {title} ({upcoming.length})</h1>
|
||||
<div class="mb-10">
|
||||
{upcoming.map((event) => (
|
||||
<EventItem item={event} />
|
||||
))}
|
||||
{upcoming.length > 0 &&
|
||||
<div>
|
||||
<h1 id="upcoming">Upcoming {title} ({upcoming.length})</h1>
|
||||
<div class="mb-10">
|
||||
{upcoming.map((event) => (
|
||||
<EventItem item={event} />
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
|
||||
{pastTotal > 0 &&
|
||||
<div>
|
||||
|
|
Loading…
Reference in a new issue