style: linting front-end

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-12-06 11:18:36 +01:00
parent 2c12fbfd09
commit 41227d994c
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
2 changed files with 3 additions and 3 deletions

View File

@ -347,7 +347,7 @@ const asyncData = async (query: string): Promise<void> => {
const result =
(await searchAddressLoad(undefined, queryVars)) ||
(await searchAddressRefetch(queryVars))?.data
(await searchAddressRefetch(queryVars))?.data;
if (!result) {
isFetching.value = false;

View File

@ -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)