handle a weird quick click.
This commit is contained in:
parent
e1a8f8a00c
commit
836e383b46
1 changed files with 4 additions and 3 deletions
|
|
@ -29,9 +29,10 @@ export default {
|
|||
}
|
||||
},
|
||||
async beforeMount() {
|
||||
if (this.markers && this.markers.length > 0) {
|
||||
await this.createMapWithMarkersForAddresses(this.markers);
|
||||
}
|
||||
await this.createMapWithMarkersForAddresses(this.markers)
|
||||
.catch(() => {
|
||||
console.error('Error creating map with markers: if handled jest fails to run tests');
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
async getMap(center) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue