Browse Source

fix: Fixed issue with pagination

pull/6498/head
Muhammed Mustafa 12 months ago
parent
commit
431dac800a
  1. 2
      packages/nc-gui/components/nc/Pagination.vue

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

@ -13,7 +13,7 @@ const current = useVModel(props, 'current', emits)
const pageSize = useVModel(props, 'pageSize', emits)
const totalPages = computed(() => Math.ceil(total.value / pageSize.value))
const totalPages = computed(() => Math.max(Math.ceil(total.value / pageSize.value), 1))
const { isMobileMode } = useGlobal()

Loading…
Cancel
Save