From f499538717653217af87e23cabcf848bc3f89a8e Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Fri, 29 Jun 2018 15:09:39 +0200 Subject: [PATCH] Reset error value when clicking the retry button to fetch location --- src/views/Map.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/views/Map.vue b/src/views/Map.vue index a5b038b..ea0eabe 100644 --- a/src/views/Map.vue +++ b/src/views/Map.vue @@ -81,6 +81,7 @@ export default { }, methods: { initializePositionWatching() { + this.error = null; // Reset any error this.disablePositionWatching(); // Ensure at most one at the same time if (constants.MOCK_LOCATION) {