Preparation for charts moved from here to laerm app
routes/api.js - removed unnecessary table entry app.js - removed unnecessary calls actions/ddata4maps.js - return options as object sensorspecials/noise.js - removed all references to xxxxxData-Calls - removed checks for /chart/... removed route/chartapi.js, sensorspecials/noisCharts.js and utilites/tables.js
This commit is contained in:
+5
-2
@@ -174,8 +174,11 @@ export var getData4map = async (params) => {
|
||||
logit(`Query duration: ${start.diffNow('seconds').toObject().seconds * -1} sec`)
|
||||
ret = {
|
||||
err: null,
|
||||
lastdate: lastDate,
|
||||
count: aktData.length,
|
||||
options: {
|
||||
lastdate: lastDate,
|
||||
count: aktData.length,
|
||||
data: 'map'
|
||||
},
|
||||
values: aktData
|
||||
}
|
||||
return ret
|
||||
|
||||
Reference in New Issue
Block a user