Fix a bug with sharing map view

This commit is contained in:
Lucas Verney 2018-08-25 16:09:38 +02:00
parent 7a7cd21376
commit 316527b575

View File

@ -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;