mirror of https://github.com/status-im/consul.git
ui: Only show optimistic details in Ent (#12788)
This commit is contained in:
parent
325c1c0dd7
commit
fbd078616c
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)}}
|
||||
|
|
Loading…
Reference in New Issue