Skip to content

Commit

Permalink
IBX-8945: Improved display of geolocation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Dębiński committed Jan 16, 2025
1 parent d6d83c7 commit 8e03c6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@

navigator.geolocation.getCurrentPosition(
(position) => updateMapState(position.coords.latitude, position.coords.longitude),
(error) => ibexa.helpers.notification.showErrorNotification(error),
(error) => ibexa.helpers.notification.showErrorNotification(error.message),
);
};
let locationMarker;
Expand Down

0 comments on commit 8e03c6f

Please sign in to comment.