From f390af3e95393aff6cd8bd7e32d77bba9ce0b016 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 16 Mar 2021 18:26:49 +0100 Subject: [PATCH] Fix homepage with no location setting Signed-off-by: Thomas Citharel --- js/src/views/Home.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/src/views/Home.vue b/js/src/views/Home.vue index 952792bc..8c255f65 100644 --- a/js/src/views/Home.vue +++ b/js/src/views/Home.vue @@ -390,9 +390,9 @@ import Subtitle from "../components/Utils/Subtitle.vue"; update: (data) => data.searchEvents, skip() { return ( - this.currentUser?.isLoggedIn === false && - this.loggedUser?.settings?.location?.geohash && - this.loggedUser?.settings?.location?.radius + !this.currentUser?.isLoggedIn || + !this.loggedUser?.settings?.location?.geohash || + !this.loggedUser?.settings?.location?.radius ); }, },