correct typo, remove 'whatTable'
This commit is contained in:
@@ -80,7 +80,7 @@ export const getgeigerData = async (params, possibles, props) => {
|
||||
opts.span = setoptionfromtable(opts.span, 1)
|
||||
opts.daystart = setoptionfromtable(opts.daystart, false)
|
||||
opts.avg = setoptionfromtable(opts.avg, 1)
|
||||
opts.mooving = setoptionfromtable(opts.mooving, false)
|
||||
opts.moving = setoptionfromtable(opts.moving, false)
|
||||
let {start, stop} = calcRange(opts) // calc time range
|
||||
opts.start = start
|
||||
opts.stop = stop
|
||||
@@ -95,7 +95,7 @@ export const getgeigerData = async (params, possibles, props) => {
|
||||
data: opts.data,
|
||||
count: erg.values.length,
|
||||
avg: opts.avg,
|
||||
mooving: opts.mooving
|
||||
moving: opts.moving
|
||||
},
|
||||
values: erg.values,
|
||||
}
|
||||
@@ -150,10 +150,3 @@ export const getgeigerData = async (params, possibles, props) => {
|
||||
return erg
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
const whatTable = [
|
||||
{'what':'day', 'span': 1, 'daystart': false, 'mooving': true, 'avg': 1},
|
||||
{'what':'week', 'span': 7, 'daystart': false, 'mooving': true, 'avg': 180},
|
||||
{'what':'month', 'span': 31, 'daystart': true, 'mooving': false, 'avg': 1440},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user