luci-app-statistics: render all graphs on refresh if no summary
authorJames Haggerty <james.haggerty@morsemicro.com>
Thu, 24 Oct 2024 01:17:21 +0000 (12:17 +1100)
committerPaul Donald <newtwen+github@gmail.com>
Thu, 24 Oct 2024 13:05:25 +0000 (15:05 +0200)
commit4d75286519015f19e3878008b21fb7342ca5fae3
tree4811f1f2a9945aa4a0edd6394e8bf3191e024f61
parentfb8ce8fccac80e87f01078041939e0a66ae5013b
luci-app-statistics: render all graphs on refresh if no summary

Previously, if there would usually be a summary page for the data
but this was not happening because there was only a single instance
(e.g. a single wifi interface), the refresh would mistakenly
request the summary rather than the existing data.

i.e. graphs would mysteriously disappear on refresh.

Signed-off-by: James Haggerty <james.haggerty@morsemicro.com>
applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/graphs.js