Correct search by location: bad radus distance sended (Issue #1821)
This commit is contained in:
@@ -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<{
|
||||
|
||||
Reference in New Issue
Block a user