ui: Cope with the possibility of receiving no namespaces (#6975)

pull/6966/head
John Cowen 5 years ago committed by GitHub
parent b2c0c08e08
commit 18bafaec35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11,7 +11,7 @@
<nav>
{{#if dc}}
<ul>
{{#if (env 'CONSUL_NSPACES_ENABLED')}}
{{#if (and (env 'CONSUL_NSPACES_ENABLED') (gt nspaces.length 0))}}
<li>
{{#if (and (eq nspaces.length 1) (not canManageNspaces)) }}
<span data-test-nspace-selected={{nspace.Name}}>{{nspace.Name}}</span>

Loading…
Cancel
Save