From fba0eb7cc8fc430b3e2b071511ca1bfb4ad375da Mon Sep 17 00:00:00 2001 From: Massedil Date: Wed, 13 Nov 2024 18:53:36 +0100 Subject: [PATCH] fix small errors --- src/views/Event/MyEventsView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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[] => {