forked from potsda.mn/mobilizon
Fix homepage with no location setting
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
67ced567b1
commit
f390af3e95
|
@ -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
|
||||
);
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue