Skip to content

Commit

Permalink
Merge pull request #69 from spadgett/pause-overview-metrics
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot committed Jun 17, 2016
2 parents babd5c1 + c5a461c commit 498b2be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/views/overview/_service.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ <h2>No deployments.</h2>
<!-- succeeded state -->
<div column class="deployment-details" ng-if="activeDeploymentByConfig[dcName] && !(deployments | anyDeploymentIsInProgress)">
<!-- metrics or pod template -->
<metrics ng-if="showMetrics" deployment="activeDeploymentByConfig[dcName]" profile="compact" class="overview-metrics"></metrics>
<!-- pause metrics updates when the service group is collapsed -->
<metrics ng-if="showMetrics && !collapse" deployment="activeDeploymentByConfig[dcName]" profile="compact" class="overview-metrics"></metrics>
<pod-template ng-if="!showMetrics" pod-template="activeDeploymentByConfig[dcName].spec.template"></pod-template>
<!-- /metrics or pod template -->
</div>
Expand Down
3 changes: 2 additions & 1 deletion dist/scripts/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -6766,7 +6766,8 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
"\n" +
"<div column class=\"deployment-details\" ng-if=\"activeDeploymentByConfig[dcName] && !(deployments | anyDeploymentIsInProgress)\">\n" +
"\n" +
"<metrics ng-if=\"showMetrics\" deployment=\"activeDeploymentByConfig[dcName]\" profile=\"compact\" class=\"overview-metrics\"></metrics>\n" +
"\n" +
"<metrics ng-if=\"showMetrics && !collapse\" deployment=\"activeDeploymentByConfig[dcName]\" profile=\"compact\" class=\"overview-metrics\"></metrics>\n" +
"<pod-template ng-if=\"!showMetrics\" pod-template=\"activeDeploymentByConfig[dcName].spec.template\"></pod-template>\n" +
"\n" +
"</div>\n" +
Expand Down

0 comments on commit 498b2be

Please sign in to comment.