Skip to content
Snippets Groups Projects
Commit eb50668f authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA :bicyclist:
Browse files

Merge branch 'redmine-issues/12027' into 'develop'

REDMINE_ISSUE-12027

See merge request !107
parents 60ed5cf3 c02aff3d
No related branches found
No related tags found
1 merge request!107REDMINE_ISSUE-12027
...@@ -489,6 +489,10 @@ export default { ...@@ -489,6 +489,10 @@ export default {
function error(err) { function error(err) {
this.erreurGeolocalisationMessage = err.message; this.erreurGeolocalisationMessage = err.message;
if (err.message === "User denied geolocation prompt") {
this.erreurGeolocalisationMessage =
"La géolocalisation a été désactivé par l'utilisateur";
}
} }
this.erreurGeolocalisationMessage = null; this.erreurGeolocalisationMessage = null;
if (!navigator.geolocation) { if (!navigator.geolocation) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment