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>
Tue, 1 Aug 2017 11:51:45 +0000 (13:51 +0200)
commite276df205163425d43f7be04bd513569b26ad5b9
tree707eb2f3aa97d915ce650f9d1d5f490b2d2ab44f
parent7387bf619f7ad42b1047ee799649c1e1a96fadd4
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