ui: Card component nspace refactor (#9228)

* Refactoring conditional for showing nspaces

* Styling empty state for Stats component
pull/9245/head
Kenia 4 years ago committed by GitHub
parent fd5928fa4e
commit d913af2bb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,7 +7,7 @@
{{@item.Name}}
</p>
<div class="details">
{{#if (and (and @nspace (env 'CONSUL_NSPACES_ENABLED')) @type)}}
{{#if (and (env 'CONSUL_NSPACES_ENABLED') (not-eq @item.Namespace @service.Namespace))}}
<dl class="nspace">
<dt>
<Tooltip>

@ -16,4 +16,7 @@
dd {
color: $gray-400 !important;
}
span {
padding-bottom: 12px;
}
}
Loading…
Cancel
Save