Reset error value when clicking the retry button to fetch location

This commit is contained in:
Lucas Verney 2018-06-29 15:09:39 +02:00
parent 9d91fa0b71
commit f499538717
1 changed files with 1 additions and 0 deletions

View File

@ -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) {