ui: Card component nspace refactor (#9228) (#9248)

* Refactoring conditional for showing nspaces

* Styling empty state for Stats component
This commit is contained in:
Kenia 2020-11-20 11:41:57 -05:00 committed by GitHub
parent 140c220131
commit 0de23419d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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>

View File

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