Viele Updates, Version angepasst
This commit is contained in:
@@ -55,7 +55,7 @@ export async function showChart(params, typ, container) {
|
||||
return this.axis.defaultLabelFormatter.call(this);
|
||||
}
|
||||
}
|
||||
let url = `/api/getsensordata?sensorid=${params.sid}&data=${typ}&datetime=${params.datetime}`
|
||||
let url = `/srv/getsensordata?sensorid=${params.sid}&data=${typ}&datetime=${params.datetime}`
|
||||
if (typ === 'live') {
|
||||
url += `&span=${params.span}`
|
||||
} else if ((typ === 'havg') || (typ === 'davg')) {
|
||||
@@ -63,7 +63,7 @@ export async function showChart(params, typ, container) {
|
||||
}
|
||||
let erg = await fetchfromserver(url)
|
||||
if (!erg.err) {
|
||||
if(sysparams.category === 'laerm') {
|
||||
if(sysparams.category === 'noise') {
|
||||
utils.showTabs()
|
||||
}
|
||||
document.querySelector('#odth').style.display = 'none'
|
||||
|
||||
Reference in New Issue
Block a user