summaryrefslogtreecommitdiff
path: root/app/views/shared/groups/_groups_tree.html.haml
blob: a2c73ccad36993ca0a2900784a0bf56aa2b9064c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
= webpack_bundle_tag 'common_vue'
= webpack_bundle_tag 'groups'

.groups-list-holder
  #dashboard-group-app{ data: { endpoint: groups_endpoint, path: groups_path } }
    .groups-list-loading
      = icon('spinner spin', 'v-show' => 'isLoading')
    %template{ 'v-if' => 'isGroupsListEmpty' }
      %div{ 'v-cloak' => true }
        = render 'shared/groups/empty_state'
    %template{ 'v-else-if' => 'isGroupsListLoaded' }
      %groups-component{ ':groups' => 'state.groups', ':page-info' => 'state.pageInfo' }