Skip to content

Commit b9b8ca2

Browse files
committed
Web console: only show "no services" message if overview empty
Don't display the "No services to show" message if we're showing other content in the overview like an unserviced deployment of an unserviced pod.
1 parent b396f5f commit b9b8ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/project.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h1 title="{{project | displayName}}">{{project | displayName}}</h1>
3838
<div class="col-md-12 gutter-top">
3939

4040
<!-- Empty states -->
41-
<div ng-if="(services | hashSize) == 0">
41+
<div ng-if="(services | hashSize) === 0 && (monopodsByService[''] | hashSize) === 0 && (deploymentsByServiceByDeploymentConfig[''] | hashSize) === 0">
4242
<!-- Getting started -->
4343
<div ng-if="renderOptions.showGetStarted" class="empty-project text-center">
4444
<h2>Get started with your project.</h2>

0 commit comments

Comments
 (0)