diff --git a/src/components/Local/CloseEvents.vue b/src/components/Local/CloseEvents.vue index 03437d43b..ae1d303c9 100644 --- a/src/components/Local/CloseEvents.vue +++ b/src/components/Local/CloseEvents.vue @@ -123,7 +123,7 @@ const eventsQuery = useQuery<{ orderBy: EventSortField.BEGINS_ON, direction: SortDirection.ASC, longevents: false, - location: geoHash.value, + location: geoHash.value ?? "", radius: distance.value, limit: 93, })); diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 1821651b0..a84d720ff 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -411,6 +411,11 @@ const { result: reverseGeocodeResult } = useQuery<{ const userSettingsLocation = computed(() => { const location = reverseGeocodeResult.value?.reverseGeocode[0]; const placeName = location?.locality ?? location?.region ?? location?.country; + console.debug( + "userSettingsLocation from reverseGeocode", + location, + placeName + ); return { lat: coords.value?.latitude, lon: coords.value?.longitude, @@ -426,6 +431,10 @@ const { result: currentUserLocationResult } = useQuery<{ // The user's location currently in the Apollo cache const currentUserLocation = computed(() => { + console.debug( + "currentUserLocation from LocationType", + currentUserLocationResult.value + ); return { ...(currentUserLocationResult.value?.currentUserLocation ?? { lat: undefined,