ui: Only show optimistic details in Ent (#12788)

This commit is contained in:
John Cowen 2022-04-14 16:58:19 +01:00 committed by GitHub
parent 325c1c0dd7
commit fbd078616c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 7 deletions

View File

@ -22,7 +22,7 @@ section[data-route='dc.show.serverstatus'] {
@extend %panel;
box-shadow: var(--decor-elevation-000);
padding: var(--padding-y) var(--padding-x);
width: 770px;
max-width: 770px;
display: flex;
flex-wrap: wrap;
}

View File

@ -119,6 +119,7 @@ as |item|}}
</dl>
</section>
{{#if (can 'read zones')}}
<section
class={{class-map
(array 'optimistic-tolerance')
@ -127,11 +128,6 @@ as |item|}}
<header>
<h3>
{{compute (fn route.t 'tolerance.optimistic.header')}}
{{#if (not (can 'read zones'))}}
<em>
{{t 'common.ui.enterprisefeature'}}
</em>
{{/if}}
<span
{{tooltip 'With > 30 seconds between server failures, Consul can restore the Immediate Fault Tolerance by replacing failed active voters with healthy back-up voters when using redundancy zones.'}}
>
@ -152,7 +148,7 @@ as |item|}}
</dl>
</section>
{{/if}}
</section>
{{#if (gt item.RedundancyZones.length 0)}}