correct if no place find
This commit is contained in:
parent
368cdb9592
commit
9796304a9a
|
@ -417,6 +417,7 @@ const userSettingsLocation = computed(() => {
|
|||
coords.value,
|
||||
placeName
|
||||
);
|
||||
if (placeName) {
|
||||
return {
|
||||
lat: coords.value?.latitude,
|
||||
lon: coords.value?.longitude,
|
||||
|
@ -424,6 +425,9 @@ const userSettingsLocation = computed(() => {
|
|||
picture: location?.pictureInfo,
|
||||
isIPLocation: coords.value?.isIPLocation,
|
||||
};
|
||||
} else {
|
||||
return {};
|
||||
}
|
||||
});
|
||||
|
||||
const { result: currentUserLocationResult } = useQuery<{
|
||||
|
|
Loading…
Reference in a new issue