Correct search by location: bad radus distance sended (Issue #1821)

This commit is contained in:
Laurent GAY
2025-08-05 18:26:02 +02:00
parent e69e149d00
commit 357a842180
2 changed files with 100 additions and 2 deletions

View File

@@ -114,7 +114,11 @@ const geoHash = computed(() => {
});
const distance = computed<number>(() => {
return props.distance | 25;
if (props.distance) {
return props.distance;
} else {
return 25;
}
});
const eventsQuery = useQuery<{