mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2025-02-08 17:54:44 +00:00
Fix homepage with no location setting
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
67ced567b1
commit
f390af3e95
1 changed files with 3 additions and 3 deletions
|
@ -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