Skip to content

Commit

Permalink
Ensure Metrics tab doesn't show up unless fabric/elasticsearch is ins…
Browse files Browse the repository at this point in the history
…talled
  • Loading branch information
gashcrumb committed Sep 30, 2013
1 parent f05a67c commit 89fdd85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hawtio-web/src/main/webapp/app/insight/js/insightPlugin.ts
Expand Up @@ -21,7 +21,7 @@ module Insight {
content: "Metrics",
title: "View Insight metrics",
href: () => "#/insight/all",
isValid: (workspace:Workspace) => { return true; }
isValid: (workspace:Workspace) => { return Fabric.hasFabric(workspace) && workspace.treeContainsDomainAndProperties("org.elasticsearch", { service: "restjmx"}); }
});

});
Expand Down

0 comments on commit 89fdd85

Please sign in to comment.