mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-15 19:13:18 +00:00
Update graph1
This commit is contained in:
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));
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user