ui: Reorder items in the Proxy Info tab (#8061)

This commit is contained in:
Kenia 2020-06-09 11:36:04 -04:00 committed by GitHub
parent 0ea5250cf6
commit 328874ad4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,5 @@
<div class="tab-section"> <div class="tab-section">
<div role="tabpanel"> <div role="tabpanel">
{{#if (or (gt proxy.ServiceChecks.length 0) (gt proxy.NodeChecks.length 0))}}
<section>
<h3>Proxy health checks</h3>
<HealthcheckList data-test-proxy-checks @items={{append proxy.ServiceChecks proxy.NodeChecks}} />
</section>
{{/if}}
{{#if (gt proxy.Proxy.Upstreams.length 0)}} {{#if (gt proxy.Proxy.Upstreams.length 0)}}
<section class="proxy-upstreams"> <section class="proxy-upstreams">
<h3> Upstreams</h3> <h3> Upstreams</h3>
@ -103,5 +97,11 @@
</ul> </ul>
</section> </section>
{{/if}} {{/if}}
{{#if (or (gt proxy.ServiceChecks.length 0) (gt proxy.NodeChecks.length 0))}}
<section>
<h3>Proxy health</h3>
<HealthcheckList data-test-proxy-checks @items={{append proxy.ServiceChecks proxy.NodeChecks}} />
</section>
{{/if}}
</div> </div>
</div> </div>