use stored city at start
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "laerm-web-sensorapi",
|
||||
"version": "3.0.5",
|
||||
"date": "2023-11-12 10:00 UTC",
|
||||
"version": "3.1.1",
|
||||
"date": "2023-11-29 13:00 UTC",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node bin/www.js >>/var/log/noise.log 2>&1"
|
||||
|
||||
@@ -154,6 +154,7 @@ import {setCurrentTab, getCurrentTab, showError, fetchfromserver, cityCoords} fr
|
||||
centercity = params.center
|
||||
}
|
||||
localStorage.setItem('centercity', JSON.stringify(centercity))
|
||||
params.center = centercity
|
||||
if(currentLang === 'en') {
|
||||
document.querySelector('#en').checked = true
|
||||
params.seldate = 'today'
|
||||
|
||||
Reference in New Issue
Block a user