mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 08:15:59 +00:00
Reduce duplicate page init logic
This commit is contained in:
1 parent
7caff5f032
commit
26e989dddd
1 file changed
+2
-4
@@ -485,11 +485,9 @@ class Dashboard {
|
||||
|
||||
// Initialize the application
|
||||
this.loadToolNames().then(function () {
|
||||
// Start on overview page
|
||||
self.loadNews();
|
||||
self.loadConfigOverview();
|
||||
self.startConfigPolling();
|
||||
self.startExecutionsPolling();
|
||||
// start on overview page
|
||||
self.navigateToPage("overview");
|
||||
});
|
||||
// Initialize heartbeat interval
|
||||
setInterval(this.heartbeat.bind(this), 250);
|
||||
|
||||
Reference in new issue
Block a user