diff options
Diffstat (limited to 'app/views/dashboard/groups/index.html.haml')
-rw-r--r-- | app/views/dashboard/groups/index.html.haml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/app/views/dashboard/groups/index.html.haml b/app/views/dashboard/groups/index.html.haml index 1cea8182733..ff058da8af5 100644 --- a/app/views/dashboard/groups/index.html.haml +++ b/app/views/dashboard/groups/index.html.haml @@ -3,10 +3,7 @@ - header_title "Groups", dashboard_groups_path = render 'dashboard/groups_head' -= webpack_bundle_tag 'common_vue' -= webpack_bundle_tag 'groups' - - if @groups.empty? - = render 'empty_state' + = render 'shared/groups/empty_state' - else - = render 'groups' + = render 'shared/groups/groups_tree', groups_endpoint: dashboard_groups_path(format: :json), groups_path: dashboard_groups_path |