Skip to content

Commit

Permalink
Issue 4860 - missing no deployments msg when only have RCs
Browse files Browse the repository at this point in the history
  • Loading branch information
jwforres committed Sep 30, 2015
1 parent e796213 commit b6c304c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion assets/app/views/deployments.html
Expand Up @@ -18,7 +18,8 @@ <h1>Deployments</h1>
</tr>
</thead>
<tbody>
<tr ng-if="(deploymentConfigs | hashSize) === 0 && (deploymentsByDeploymentConfig | hashSize) === 0"><td colspan="5"><em>{{emptyMessage}}</em></td></tr>
<!-- If there are no deployment configs, and if the only 'deployments' are just replication controllers -->
<tr ng-if="(deploymentConfigs | hashSize) === 0 && ((deployments | hashSize) === (deploymentsByDeploymentConfig[''] | hashSize))"><td colspan="5"><em>{{emptyMessage}}</em></td></tr>
<!-- hidden tr to start the ng-repeat for the build config -->
<tr ng-repeat-start="(deploymentConfigName, deploymentConfigDeployments) in deploymentsByDeploymentConfig" style="display: none;"></tr>
<!-- Deployment config with no deployments-->
Expand Down

0 comments on commit b6c304c

Please sign in to comment.