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:
parent
27da46829d
commit
fba0eb7cc8
1 changed files with 2 additions and 2 deletions
|
@ -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[] => {
|
||||
|
|
Loading…
Reference in a new issue