Fix typo in range/radius preventing close events from showing up

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-03-17 10:31:46 +01:00
parent 00fa71dc66
commit fb7c7c3a0a
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -388,7 +388,7 @@ import Subtitle from "../components/Utils/Subtitle.vue";
variables() { variables() {
return { return {
location: this.loggedUser?.settings?.location?.geohash, location: this.loggedUser?.settings?.location?.geohash,
radius: this.loggedUser?.settings?.location?.radius, radius: this.loggedUser?.settings?.location?.range,
}; };
}, },
update: (data) => data.searchEvents, update: (data) => data.searchEvents,
@ -396,7 +396,7 @@ import Subtitle from "../components/Utils/Subtitle.vue";
return ( return (
!this.currentUser?.isLoggedIn || !this.currentUser?.isLoggedIn ||
!this.loggedUser?.settings?.location?.geohash || !this.loggedUser?.settings?.location?.geohash ||
!this.loggedUser?.settings?.location?.radius !this.loggedUser?.settings?.location?.range
); );
}, },
}, },