Reset error value when clicking the retry button to fetch location
This commit is contained in:
parent
9d91fa0b71
commit
f499538717
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user