1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2024-12-22 07:52:43 +00:00

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);
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<string, Eventable[]> => {
});
const monthlyPastParticipations = computed((): Map<string, Eventable[]> => {
return monthlyEvents(pastParticipations.value.elements, true);
return monthlyEvents(pastParticipations.value.elements);
});
const monthParticipationsIds = (elements: Eventable[]): string[] => {