Merge branch 'fix-issues' into 'master'

Fix typo in range/radius preventing close events from showing up

See merge request framasoft/mobilizon!865
This commit is contained in:
Thomas Citharel 2021-03-17 10:12:48 +00:00
commit dd82d11fde

View File

@ -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
);
},
},