Skip to content

Commit

Permalink
fix const to let
Browse files Browse the repository at this point in the history
  • Loading branch information
vol4tim committed Dec 28, 2024
1 parent a07e166 commit cef6588
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export default {
// console.log("Geolocation setting up default values");
const lastsettings = localStorage.getItem("map-position") || JSON.stringify({"lat": config.MAP.position.lat, "lng": config.MAP.position.lng, "zoom": config.MAP.zoom });
const savelocally = true;
let savelocally = true;
/* We don't need to save position loacally if there is set from config */
if(!localStorage.getItem("map-position")) {
Expand Down

0 comments on commit cef6588

Please sign in to comment.