From 41227d994c071561c11fd273af69b1cb86767816 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 6 Dec 2023 11:18:36 +0100 Subject: [PATCH] style: linting front-end Signed-off-by: Thomas Citharel --- src/components/Event/FullAddressAutoComplete.vue | 2 +- src/views/Event/EventView.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Event/FullAddressAutoComplete.vue b/src/components/Event/FullAddressAutoComplete.vue index a9f687f08..fd2d5af78 100644 --- a/src/components/Event/FullAddressAutoComplete.vue +++ b/src/components/Event/FullAddressAutoComplete.vue @@ -347,7 +347,7 @@ const asyncData = async (query: string): Promise => { const result = (await searchAddressLoad(undefined, queryVars)) || - (await searchAddressRefetch(queryVars))?.data + (await searchAddressRefetch(queryVars))?.data; if (!result) { isFetching.value = false; diff --git a/src/views/Event/EventView.vue b/src/views/Event/EventView.vue index ab32c301e..d87198c40 100755 --- a/src/views/Event/EventView.vue +++ b/src/views/Event/EventView.vue @@ -613,8 +613,8 @@ const organizerDomain = computed((): string | undefined => { }); const nonPassedRelatedEvents = computed((): IEvent[] | undefined => { - let relatedEvents = event.value?.relatedEvents; - + const relatedEvents = event.value?.relatedEvents; + return relatedEvents?.filter((relatedEvent: IEvent) => { const endsOn = relatedEvent.endsOn ? new Date(relatedEvent.endsOn)