Browse Source

Merge pull request #5426 from nocodb/fix/pagination

fix(nc-gui): page-size in pagination
pull/5427/head
աɨռɢӄաօռɢ 2 years ago committed by GitHub
parent
commit
ce3e481968
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nc-gui/components/dashboard/settings/AuditTab.vue
  2. 2
      packages/nc-gui/components/smartsheet/Pagination.vue
  3. 2
      packages/nc-gui/components/tabs/auth/UserManagement.vue
  4. 2
      packages/nc-gui/components/webhook/CallLog.vue

2
packages/nc-gui/components/dashboard/settings/AuditTab.vue

@ -102,7 +102,7 @@ const columns = [
<a-pagination
v-model:current="currentPage"
:page-size="currentLimit"
v-model:page-size="currentLimit"
:total="totalRows"
show-less-items
@change="loadAudits"

2
packages/nc-gui/components/smartsheet/Pagination.vue

@ -28,10 +28,10 @@ const page = computed({
<a-pagination
v-if="count !== Infinity"
v-model:current="page"
v-model:page-size="size"
size="small"
class="!text-xs !m-1 nc-pagination"
:total="count"
:page-size="size"
show-less-items
:show-size-changer="false"
/>

2
packages/nc-gui/components/tabs/auth/UserManagement.vue

@ -369,9 +369,9 @@ const isSuperAdmin = (user: { main_roles?: string }) => {
<a-pagination
v-model:current="currentPage"
v-model:page-size="currentLimit"
hide-on-single-page
class="mt-4"
:page-size="currentLimit"
:total="totalRows"
show-less-items
@change="loadUsers"

2
packages/nc-gui/components/webhook/CallLog.vue

@ -159,7 +159,7 @@ onBeforeMount(async () => {
<a-layout-footer class="!bg-white text-center">
<a-pagination
v-model:current="currentPage"
:page-size="currentLimit"
v-model:page-size="currentLimit"
:total="totalRows"
show-less-items
@change="loadHookLogs"

Loading…
Cancel
Save