diff --git a/app/views/versions/_sidebar.html.erb b/app/views/versions/_sidebar.html.erb index 809b60ded..0ce93fe82 100644 --- a/app/views/versions/_sidebar.html.erb +++ b/app/views/versions/_sidebar.html.erb @@ -20,7 +20,7 @@ <%= check_box_tag "completed", 1, params[:completed] %> <%= l(:label_show_completed_versions) %> - <% if @project.descendants.visible.any? %> + <% if @project.descendants.allowed_to(:view_issues).any? %>