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];
|
return [currentLocation.latitude, currentLocation.longitude];
|
||||||
},
|
},
|
||||||
currentLocation() {
|
currentLocation() {
|
||||||
return this.$store.getters.getLastLocation;
|
return this.$store.getters.getLastLocation || {};
|
||||||
},
|
},
|
||||||
error() {
|
error() {
|
||||||
const errorCode = this.$store.state.location.error;
|
const errorCode = this.$store.state.location.error;
|
||||||
|
Loading…
Reference in New Issue
Block a user