diff --git a/src/views/Map.vue b/src/views/Map.vue index d3b899a..5c208e1 100644 --- a/src/views/Map.vue +++ b/src/views/Map.vue @@ -98,7 +98,7 @@ export default { return [currentLocation.latitude, currentLocation.longitude]; }, currentLocation() { - return this.$store.getters.getLastLocation; + return this.$store.getters.getLastLocation || {}; }, error() { const errorCode = this.$store.state.location.error;