diff --git a/templates/navigation/workspace_navigation.html b/templates/navigation/workspace_navigation.html index a3de6043..92393f30 100644 --- a/templates/navigation/workspace_navigation.html +++ b/templates/navigation/workspace_navigation.html @@ -6,7 +6,7 @@ "Projects", href=url_for("workspaces.workspace_projects", workspace_id=workspace.id), active=request.url_rule.rule.startswith('/workspaces//projects'), - subnav=[ + subnav=None if not user_can(permissions.ADD_APPLICATION_IN_WORKSPACE) else [ { "label": "Add New Project", "href": url_for('workspaces.new_project', workspace_id=workspace.id),