From 836e383b46de049206b3449c835572b35c25b9e1 Mon Sep 17 00:00:00 2001 From: Bill Richardson Date: Wed, 25 Feb 2026 16:07:00 -0500 Subject: [PATCH] handle a weird quick click. --- src/iss-components/google-map/google-map.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/iss-components/google-map/google-map.vue b/src/iss-components/google-map/google-map.vue index ea71a8f9..273c382c 100644 --- a/src/iss-components/google-map/google-map.vue +++ b/src/iss-components/google-map/google-map.vue @@ -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) {