Fix for missing License nav item in menu (#8230)

* remove condition to check if cluster is secondary.  It is unintentionally hiding the license menu item.  The cluser.dr.isSecondary condition is later checked on whether is should should the license line item farther down in the nested menu

* keep conditional, just wrap the final and in parentheses

* remove testing param
This commit is contained in:
Angel Garbarino 2020-01-24 13:54:36 -07:00 committed by GitHub
parent 751b3473d0
commit 9a6d12fa8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,8 +68,7 @@
{{#if (and (or
(and version.features (has-permission 'status' routeParams='license'))
(and cluster.usingRaft (has-permission 'status' routeParams='raft'))
)
not cluster.dr.isSecondary)
) (not cluster.dr.isSecondary))
}}
<nav class="menu">
<div class="menu-label">