ui: Update conditional for topology empty state (#10124)

This commit is contained in:
Kenia 2021-04-28 09:23:02 -04:00 committed by GitHub
parent c9b7fe5051
commit d191b2c552
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

3
.changelog/10124.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
ui: Update conditional for topology empty state
```

View File

@ -3,7 +3,7 @@
as |route|>
<EventSource @src={{topology}} />
<div class="tab-section">
{{#if (and (eq topology.Upstreams.length 0) (eq topology.Downstreams.length 0))}}
{{#if (and (eq topology.Upstreams.length 0) (eq topology.Downstreams.length 0) (not topology.DefaultAllow) (not topology.WildcardIntention))}}
<EmptyState>
<BlockSlot @name="header">
<h2>