diff options
Diffstat (limited to 'app/assets/javascripts/groups/components/groups.vue')
-rw-r--r-- | app/assets/javascripts/groups/components/groups.vue | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/app/assets/javascripts/groups/components/groups.vue b/app/assets/javascripts/groups/components/groups.vue index 759b68c8bb4..ad85d84b1e6 100644 --- a/app/assets/javascripts/groups/components/groups.vue +++ b/app/assets/javascripts/groups/components/groups.vue @@ -1,11 +1,8 @@ <script> -import TablePaginationComponent from '~/vue_shared/components/table_pagination.vue'; +import TablePagination from '~/vue_shared/components/table_pagination.vue'; import eventHub from '../event_hub'; export default { - components: { - 'gl-pagination': TablePaginationComponent, - }, props: { groups: { type: Object, @@ -16,6 +13,9 @@ export default { required: true, }, }, + components: { + TablePagination, + }, methods: { change(page) { const filterGroupsParam = gl.utils.getParameterByName('filter_groups'); @@ -28,9 +28,12 @@ export default { <template> <div class="groups-list-tree-container"> - <group-folder :groups="groups" /> - <gl-pagination + <group-folder + :groups="groups" + /> + <table-pagination :change="change" - :pageInfo="pageInfo" /> + :pageInfo="pageInfo" + /> </div> </template> |