mirror of
https://github.com/status-im/consul.git
synced 2025-01-20 18:50:04 +00:00
e18d8e299d
* Remove Proxy Info and create Upstreams and Exposed Paths tabs * Update routes formatting * Update typo for Expose.Checks * Remove, update, and add tests * Make consul-upstream-instance-list into a glimmer component * Create styling for upstream-instance-list component
21 lines
543 B
Handlebars
21 lines
543 B
Handlebars
<div class="tab-section">
|
|
<div role="tabpanel">
|
|
{{#if (gt item.Checks.length 0) }}
|
|
<section data-test-checks>
|
|
<HealthcheckList
|
|
@items={{sort-by (comparator 'check' 'Status:asc') (append item.Checks proxy.Checks)}}
|
|
@exposed={{proxyMeta.ServiceProxy.Expose.Checks}}
|
|
/>
|
|
</section>
|
|
{{else}}
|
|
<EmptyState>
|
|
<BlockSlot @name="body">
|
|
<p>
|
|
This instance has no health checks.
|
|
</p>
|
|
</BlockSlot>
|
|
</EmptyState>
|
|
{{/if}}
|
|
</div>
|
|
</div>
|