diff --git a/js/apps/system/aardvark/clusterFrontend/js/templates/showCluster.ejs b/js/apps/system/aardvark/clusterFrontend/js/templates/showCluster.ejs index 7527d01c1d..276c561961 100644 --- a/js/apps/system/aardvark/clusterFrontend/js/templates/showCluster.ejs +++ b/js/apps/system/aardvark/clusterFrontend/js/templates/showCluster.ejs @@ -99,7 +99,11 @@ <% }); %> -
<%=a%> <%=dbName!==""?"(Shards: )":""%>GUI
+ <% if (s.coords) { %> +
<%=a%> <%=dbName!==""?"(Shards: )":""%>GUI
+ <% } else { %> +
<%=a%> <%=dbName!==""?"(Shards: )":""%>
+ <% } %> <% }); diff --git a/js/apps/system/aardvark/clusterFrontend/js/views/showClusterView.js b/js/apps/system/aardvark/clusterFrontend/js/views/showClusterView.js index 1e316c3e15..2ff9ee871b 100644 --- a/js/apps/system/aardvark/clusterFrontend/js/views/showClusterView.js +++ b/js/apps/system/aardvark/clusterFrontend/js/views/showClusterView.js @@ -173,6 +173,8 @@ }, render: function() { + this.knownServers = []; + delete this.hist; var self = this; this.listByAddress(function(byAddress) { if (Object.keys(byAddress).length === 1) {