Fix initial point missing in dashboard

This commit is contained in:
emanuele-f 2019-06-10 11:16:27 +02:00
parent 7a901dfd6d
commit 12d2ffaf20

View file

@ -62,6 +62,7 @@ function queryEpochData(schema, tags, selectedEpoch, zoomLevel, options)
local d = getZoomDuration(zoomLevel)
local end_time
local start_time
options = table.merge(options or {}, {initial_point=true})
if((selectedEpoch == nil) or (selectedEpoch == "")) then
selectedEpoch = os.time()