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,
|
update: (data) => data.searchEvents,
|
||||||
skip() {
|
skip() {
|
||||||
return (
|
return (
|
||||||
this.currentUser?.isLoggedIn === false &&
|
!this.currentUser?.isLoggedIn ||
|
||||||
this.loggedUser?.settings?.location?.geohash &&
|
!this.loggedUser?.settings?.location?.geohash ||
|
||||||
this.loggedUser?.settings?.location?.radius
|
!this.loggedUser?.settings?.location?.radius
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue