mirror of
https://github.com/status-im/consul.git
synced 2025-02-02 08:56:43 +00:00
ui: Cope with the possibility of receiving no namespaces (#6975)
This commit is contained in:
parent
b2c0c08e08
commit
18bafaec35
@ -11,7 +11,7 @@
|
|||||||
<nav>
|
<nav>
|
||||||
{{#if dc}}
|
{{#if dc}}
|
||||||
<ul>
|
<ul>
|
||||||
{{#if (env 'CONSUL_NSPACES_ENABLED')}}
|
{{#if (and (env 'CONSUL_NSPACES_ENABLED') (gt nspaces.length 0))}}
|
||||||
<li>
|
<li>
|
||||||
{{#if (and (eq nspaces.length 1) (not canManageNspaces)) }}
|
{{#if (and (eq nspaces.length 1) (not canManageNspaces)) }}
|
||||||
<span data-test-nspace-selected={{nspace.Name}}>{{nspace.Name}}</span>
|
<span data-test-nspace-selected={{nspace.Name}}>{{nspace.Name}}</span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user