diff --git a/src/views/Event/MyEventsView.vue b/src/views/Event/MyEventsView.vue index 0832cb3e2..1dd92933c 100644 --- a/src/views/Event/MyEventsView.vue +++ b/src/views/Event/MyEventsView.vue @@ -246,7 +246,7 @@ const pastPage = ref(1); const limit = ref(10); function startOfDay(d: Date): string { - const pad = (n: int): string => { + const pad = (n: number): string => { return (n > 9 ? "" : "0") + n.toString(); }; return ( @@ -376,7 +376,7 @@ const monthlyFutureEvents = computed((): Map => { }); const monthlyPastParticipations = computed((): Map => { - return monthlyEvents(pastParticipations.value.elements, true); + return monthlyEvents(pastParticipations.value.elements); }); const monthParticipationsIds = (elements: Eventable[]): string[] => {