diff --git a/app/views/admin/shared/_nested_sidebar.html.erb b/app/views/admin/shared/_nested_sidebar.html.erb index 84a44e9a3..dcf7ffe3a 100644 --- a/app/views/admin/shared/_nested_sidebar.html.erb +++ b/app/views/admin/shared/_nested_sidebar.html.erb @@ -21,10 +21,11 @@ <%= inline_svg_tag(group[:svg], aria_hidden: true, class: "dropdown-icon crayons-icon") %> <%= display_name(group_name) %> + <% first_child = group[:children].detect { |child| child[:visible] } %>