Skip to content

Commit

Permalink
Fixed a bug in cluster dashboard, which made it impossible to view th…
Browse files Browse the repository at this point in the history
…e dashboard for a multi machine cluster. arangodb#883
  • Loading branch information
mchacki committed Aug 5, 2014
1 parent 9431b21 commit 9d51963
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@
<img src="img/databaseIcon.svg" class="icon svgToReplace"/>
</a>
<% }); %>
<h5 class="collectionName"><%=a%> <%=dbName!==""?"(Shards: <span id=\"" + dbName + "Shards\" class=\"shardCounter\"/>)":""%><a class="button-gui<%=buttonClass(c.get('status'))%>" href="<%=url%>" target="_blank">GUI</a></h5>
<% if (s.coords) { %>
<h5 class="collectionName"><%=a%> <%=dbName!==""?"(Shards: <span id=\"" + dbName + "Shards\" class=\"shardCounter\"/>)":""%><a class="button-gui<%=buttonClass(_.first(s.coords).get('status'))%>" href="<%=url%>" target="_blank">GUI</a></h5>
<% } else { %>
<h5 class="collectionName"><%=a%> <%=dbName!==""?"(Shards: <span id=\"" + dbName + "Shards\" class=\"shardCounter\"/>)":""%></h5>
<% } %>
</li>
<%
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@
},

render: function() {
this.knownServers = [];
delete this.hist;
var self = this;
this.listByAddress(function(byAddress) {
if (Object.keys(byAddress).length === 1) {
Expand Down

0 comments on commit 9d51963

Please sign in to comment.