@cryptotaxi247 / netdata-1 / commits / 8c98e6a41

Render MyNetdata menu after fetching hosts info #5370 (#5371)

Ensure the idempotent method `renderMyNetdataMenu` is called after hosts info is fetched. Resolves a race condition. Fixes: #5364 Fixes: #5370

George Moschovitis committed Feb 14, 2019 at 11:11 UTC 8c98e6a41d95454f28d8734cae87f038afe59f6e
1 file changed +3
web/gui/main.js
+3
@@ -2740,6 +2740,9 @@ function initializeDynamicDashboardWithData(data) {
2740
2741 // render all charts
2742 renderChartsAndMenu(data);
2743 +
2744 + // Ensure MyNetdata menu is rendered with latest host info #5370
2745 + renderMyNetdataMenu(isSignedIn() ? cloudAgents : registryAgents);
2746 }
2747 }
2748