Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-27 15:08:35 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-27 15:08:35 +0300
commit22e9af3c8b8aedf7f46b786be968862b74a2d07e (patch)
treea10a7d9af40a17fe6cda7b3a681f5e5e2112c16e /app/assets/javascripts/vue_shared/components/pagination
parentc8e28a0bb8dd45d91cb72ff2c930bc4a562f1fc7 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/vue_shared/components/pagination')
-rw-r--r--app/assets/javascripts/vue_shared/components/pagination/graphql_pagination.vue47
1 files changed, 0 insertions, 47 deletions
diff --git a/app/assets/javascripts/vue_shared/components/pagination/graphql_pagination.vue b/app/assets/javascripts/vue_shared/components/pagination/graphql_pagination.vue
deleted file mode 100644
index 53e473432db..00000000000
--- a/app/assets/javascripts/vue_shared/components/pagination/graphql_pagination.vue
+++ /dev/null
@@ -1,47 +0,0 @@
-<script>
-import { GlButton } from '@gitlab/ui';
-import { PREV, NEXT } from '~/vue_shared/components/pagination/constants';
-
-/**
- * Pagination Component for graphql API
- */
-export default {
- name: 'GraphqlPaginationComponent',
- components: {
- GlButton,
- },
- labels: {
- prev: PREV,
- next: NEXT,
- },
- props: {
- hasNextPage: {
- required: true,
- type: Boolean,
- },
- hasPreviousPage: {
- required: true,
- type: Boolean,
- },
- },
-};
-</script>
-<template>
- <div class="justify-content-center d-flex prepend-top-default">
- <div class="btn-group">
- <gl-button
- class="js-prev-btn page-link"
- :disabled="!hasPreviousPage"
- @click="$emit('previousClicked')"
- >{{ $options.labels.prev }}</gl-button
- >
-
- <gl-button
- class="js-next-btn page-link"
- :disabled="!hasNextPage"
- @click="$emit('nextClicked')"
- >{{ $options.labels.next }}</gl-button
- >
- </div>
- </div>
-</template>