diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-10-10 14:11:55 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-10-10 16:54:28 +0200 |
commit | aee5691db3ec411c242e050aaa11ebb44f07f164 (patch) | |
tree | 1bacabb4632b3d90701729d32cbaf41ddeb51c14 /app/views | |
parent | 3fe7f31ac047e1b9ba3ae53cea17012ce2f7f3e7 (diff) | |
download | gitlab-ce-aee5691db3ec411c242e050aaa11ebb44f07f164.tar.gz |
Don't load unneeded elements in GroupsController#show
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/groups/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml index 75f7473d1ef..6a7d8e84636 100644 --- a/app/views/groups/show.html.haml +++ b/app/views/groups/show.html.haml @@ -39,7 +39,7 @@ - else = link_to new_project_label, new_project_path(namespace_id: @group.id), class: "btn btn-success" - - if params[:filter].blank? && @children.empty? + - if params[:filter].blank? && !@has_children = render "shared/groups/empty_state" - else = render "children", children: @children, group: @group |