Use 'getCoordinates'

This commit is contained in:
Wolfgang Huß 2023-01-12 11:28:02 +01:00
parent 36239bc762
commit a0f7947c3a

View File

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