remove unnecessary logging

This commit is contained in:
778a69cd 2023-11-21 22:42:27 +01:00
parent 257da414bf
commit 599c4ce0f5

View file

@ -621,12 +621,12 @@ const organizerDomain = computed((): string | undefined => {
});
const filterNonPassedRelatedEvents = (relatedEvents: IEvent[] | undefined) => {
console.log(relatedEvents);
return relatedEvents?.filter((relatedEvent) => {
let endsOn = relatedEvent.endsOn ? new Date(relatedEvent.endsOn) : new Date(relatedEvent.beginsOn);
console.log(endsOn);
const endsOn = relatedEvent.endsOn
? new Date(relatedEvent.endsOn)
: new Date(relatedEvent.beginsOn);
return endsOn > new Date();
})
});
};
const nonPassedRelatedEvents = computed((): IEvent[] | undefined => {