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
1 changed files with 2 additions and 2 deletions

View File

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