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

This commit is contained in:
Kenia 2021-04-28 09:23:02 -04:00 committed by Mike Morris
parent c41ef2d7cf
commit 3439ec2d0b
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>