From a0f7947c3a5fac2f12720e9068db729552b0fc50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Thu, 12 Jan 2023 11:28:02 +0100 Subject: [PATCH] Use 'getCoordinates' --- webapp/pages/map.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/pages/map.vue b/webapp/pages/map.vue index 776287dee..b632eec96 100644 --- a/webapp/pages/map.vue +++ b/webapp/pages/map.vue @@ -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() },