luci-app-nlbwmon: always fetch latest data
authorJo-Philipp Wich <jo@mein.io>
Tue, 1 Aug 2017 11:51:45 +0000 (13:51 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 5 Aug 2017 12:27:27 +0000 (14:27 +0200)
commit21ae7f2181d919d3f3e48a97383b95fbc825350c
tree92008eeb07ac24a12564f550cce483e69b21d73d
parentee54fd7784fd439b36c6877444e1e7033d039c51
luci-app-nlbwmon: always fetch latest data

When displaying the most current accounting period, pass an empty timestamp
to the backend in order to query the current in-memory data instead of the
latest committed values.

This ensures that the dashboard always renders the most current data in its
default view.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-nlbwmon/luasrc/view/nlbw/display.htm