mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Use 'getCoordinates'
This commit is contained in:
parent
36239bc762
commit
a0f7947c3a
@ -78,7 +78,7 @@ export default {
|
||||
async mounted() {
|
||||
this.currentUserLocation = await this.getUserLocation(this.currentUser.id)
|
||||
this.currentUserCoordinates = this.currentUserLocation
|
||||
? [this.currentUserLocation.lng, this.currentUserLocation.lat] // Wolle: getCoordinates
|
||||
? this.getCoordinates(this.currentUserLocation)
|
||||
: null
|
||||
this.mapFlyToCenter()
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user