Display Events in Widgets until their end date is reached

This commit is contained in:
2026-06-20 18:06:29 +02:00
parent a83cec94ab
commit 2348663fd8
+1 -1
View File
@@ -26,7 +26,7 @@ class EventRepository {
'archived' => false,
],$accessCheck) as $event) {
if ($event->start_date > now()) {
if ($event->end_date >= now()) {
$event = $event->toResource()->toArray(new Request());
$events[] = $event;