From fb7c7c3a0adf33c581041f367325e5497f6d05cd Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 17 Mar 2021 10:31:46 +0100 Subject: [PATCH] Fix typo in range/radius preventing close events from showing up Signed-off-by: Thomas Citharel --- js/src/views/Home.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/views/Home.vue b/js/src/views/Home.vue index b68eb31e5..243a9509b 100644 --- a/js/src/views/Home.vue +++ b/js/src/views/Home.vue @@ -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 ); }, },