Fix a bug with sharing map view
This commit is contained in:
parent
7a7cd21376
commit
316527b575
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user