Update graph1

This commit is contained in:
cpq committed 2026-11-15 12:16:49 +00:00
1 parent 1b9177ae64
commit 88096d3f4d
1 file changed
+5
@@ -110,6 +110,11 @@
setupAutoLogout(); setupAutoLogout();
document.body.style.visibility = 'visible'; document.body.style.visibility = 'visible';
refreshFiles(); refreshFiles();
// Static graph is not pushed by the device, so load it once here
Dashboard.call('get', 'graph1').then(r => {
mkGraph(graphs.graph1);
updateGraph1(r?.data);
});
}); });
Dashboard.login().catch(err => showLogin(true)); Dashboard.login().catch(err => showLogin(true));