fix small errors

This commit is contained in:
Massedil 2024-11-13 18:53:36 +01:00 committed by setop
parent 27da46829d
commit fba0eb7cc8

View file

@ -246,7 +246,7 @@ const pastPage = ref(1);
const limit = ref(10); const limit = ref(10);
function startOfDay(d: Date): string { function startOfDay(d: Date): string {
const pad = (n: int): string => { const pad = (n: number): string => {
return (n > 9 ? "" : "0") + n.toString(); return (n > 9 ? "" : "0") + n.toString();
}; };
return ( return (
@ -376,7 +376,7 @@ const monthlyFutureEvents = computed((): Map<string, Eventable[]> => {
}); });
const monthlyPastParticipations = computed((): Map<string, Eventable[]> => { const monthlyPastParticipations = computed((): Map<string, Eventable[]> => {
return monthlyEvents(pastParticipations.value.elements, true); return monthlyEvents(pastParticipations.value.elements);
}); });
const monthParticipationsIds = (elements: Eventable[]): string[] => { const monthParticipationsIds = (elements: Eventable[]): string[] => {