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 = const result =
(await searchAddressLoad(undefined, queryVars)) || (await searchAddressLoad(undefined, queryVars)) ||
(await searchAddressRefetch(queryVars))?.data (await searchAddressRefetch(queryVars))?.data;
if (!result) { if (!result) {
isFetching.value = false; isFetching.value = false;

View file

@ -613,8 +613,8 @@ const organizerDomain = computed((): string | undefined => {
}); });
const nonPassedRelatedEvents = computed((): IEvent[] | undefined => { const nonPassedRelatedEvents = computed((): IEvent[] | undefined => {
let relatedEvents = event.value?.relatedEvents; const relatedEvents = event.value?.relatedEvents;
return relatedEvents?.filter((relatedEvent: IEvent) => { return relatedEvents?.filter((relatedEvent: IEvent) => {
const endsOn = relatedEvent.endsOn const endsOn = relatedEvent.endsOn
? new Date(relatedEvent.endsOn) ? new Date(relatedEvent.endsOn)