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) => { const filterNonPassedRelatedEvents = (relatedEvents: IEvent[] | undefined) => {
console.log(relatedEvents); return relatedEvents?.filter((relatedEvent) => {
return relatedEvents?.filter((relatedEvent) => { const endsOn = relatedEvent.endsOn
let endsOn = relatedEvent.endsOn ? new Date(relatedEvent.endsOn) : new Date(relatedEvent.beginsOn); ? new Date(relatedEvent.endsOn)
console.log(endsOn); : new Date(relatedEvent.beginsOn);
return endsOn > new Date(); return endsOn > new Date();
}) });
}; };
const nonPassedRelatedEvents = computed((): IEvent[] | undefined => { const nonPassedRelatedEvents = computed((): IEvent[] | undefined => {