Skip to content

Commit

Permalink
Fix for missing License nav item in menu (#8230)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Monkeychip authored Jan 24, 2020
1 parent d18e22e commit aea2e9b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/app/templates/partials/status/cluster.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit aea2e9b

Please sign in to comment.