Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Hide service icons if a container isn't running
  • Loading branch information
gashcrumb committed Sep 18, 2013
1 parent 5905699 commit 6bed089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/fabric/js/helpers.ts
Expand Up @@ -217,7 +217,7 @@ module Fabric {

export function getServiceList(container) {
var answer = [];
if (angular.isDefined(container) && angular.isDefined(container.jmxDomains) && angular.isArray(container.jmxDomains)) {
if (angular.isDefined(container) && angular.isDefined(container.jmxDomains) && angular.isArray(container.jmxDomains) && container.alive) {

container.jmxDomains.forEach((domain) => {
if (domain === "org.fusesource.insight") {
Expand Down

0 comments on commit 6bed089

Please sign in to comment.