Hide unpublished listings from organizer page

This commit is contained in:
Sam Bell 2018-05-06 13:07:02 +01:00
parent 6b1867be89
commit c519ae318b
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
@if(count($events))
@foreach($events as $event)
@foreach($events->where('is_live', 1) as $event)
<li>
<time datetime="{{ $event->start_date }}">
<span class="day">{{ $event->start_date->format('d') }}</span>