diff options
author | George Moschovitis <george.moschovitis@gmail.com> | 2019-02-14 11:11:48 +0200 |
---|---|---|
committer | Chris Akritidis <43294513+cakrit@users.noreply.github.com> | 2019-02-14 10:11:48 +0100 |
commit | 8c98e6a41d95454f28d8734cae87f038afe59f6e (patch) | |
tree | d2bc10d03a2da119389356dfff0a058423978e45 /web | |
parent | 041725f9e905246a7d3eaf25a03ea78a3ed9bad3 (diff) |
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
Diffstat (limited to 'web')
-rw-r--r-- | web/gui/main.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/gui/main.js b/web/gui/main.js index a370a330e9..2b1860cb32 100644 --- a/web/gui/main.js +++ b/web/gui/main.js @@ -2740,6 +2740,9 @@ function initializeDynamicDashboardWithData(data) { // render all charts renderChartsAndMenu(data); + + // Ensure MyNetdata menu is rendered with latest host info #5370 + renderMyNetdataMenu(isSignedIn() ? cloudAgents : registryAgents); } } |