From aea2e9b7fad75b0ae08d50b9f0423d3d6835e7dc Mon Sep 17 00:00:00 2001 From: Angel Garbarino Date: Fri, 24 Jan 2020 13:54:36 -0700 Subject: [PATCH 1/2] 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 --- ui/app/templates/partials/status/cluster.hbs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/app/templates/partials/status/cluster.hbs b/ui/app/templates/partials/status/cluster.hbs index 7527c5a6b157..18f9a92975b4 100644 --- a/ui/app/templates/partials/status/cluster.hbs +++ b/ui/app/templates/partials/status/cluster.hbs @@ -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)) }}