diff --git a/src/pages/events.vue b/src/pages/events.vue index c9f00a43..5a0528de 100644 --- a/src/pages/events.vue +++ b/src/pages/events.vue @@ -48,6 +48,7 @@ const groupedEventData = computed(() => { const events: Record = {}; data.value?.events.forEach(event => { + if (new Date(event.end_time) < new Date()) return; const date = new Date(event.start_time); const key = parseInt(date.getFullYear().toString() + `0${ date.getMonth() }`.slice(-2) + `0${ date.getDate() }`.slice(-2));