Add user setting to provide location and show events near location on
homepage Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -409,7 +409,7 @@ export default class Search extends Vue {
|
||||
}
|
||||
|
||||
get geohash(): string | undefined {
|
||||
if (this.location && this.location.geom) {
|
||||
if (this.location?.geom) {
|
||||
const [lon, lat] = this.location.geom.split(";");
|
||||
return ngeohash.encode(lat, lon, 6);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user