style: linting front-end
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
2c12fbfd09
commit
41227d994c
|
@ -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;
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue