Skip to content

Commit

Permalink
Fixed incorrect color of circuit status in dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
eunmin committed Apr 26, 2017
1 parent cf3f7e4 commit 1cd1dcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
/* We have some circuits that are open */
%>
<% if(typeof isCircuitBreakerOpen === 'object' ) { %>
Circuit <font color="orange">Open <%= isCircuitBreakerOpen.true %></font> <font color="green">Closed <%= isCircuitBreakerOpen.false %></font>
Circuit <font color="red">Open <%= isCircuitBreakerOpen.true %></font> <font color="green">Closed <%= isCircuitBreakerOpen.false %></font>
<% } else { %>
Circuit <font color="orange"><%= isCircuitBreakerOpen.toString().replace("true", "Open").replace("false", "Closed") %></font>
<% } %>
Expand Down

0 comments on commit 1cd1dcd

Please sign in to comment.