Browse Source

fix(nc-gui): Fixed table pagination timing coming up on group by

pull/6636/head
Muhammed Mustafa 1 year ago
parent
commit
24efc38c7a
  1. 2
      packages/nc-gui/components/smartsheet/grid/GroupBy.vue
  2. 2
      packages/nc-gui/components/smartsheet/grid/Table.vue

2
packages/nc-gui/components/smartsheet/grid/GroupBy.vue

@ -297,6 +297,7 @@ const onScroll = (e: Event) => {
v-model:pagination-data="vGroup.paginationData"
align-count-on-right
custom-label="groups"
show-api-timing
:change-page="(p: number) => groupWrapperChangePage(p, vGroup)"
:style="`${props.depth && props.depth > 0 ? 'border-radius: 0 0 12px 12px !important;' : ''}`"
></LazySmartsheetPagination>
@ -305,6 +306,7 @@ const onScroll = (e: Event) => {
v-model:pagination-data="vGroup.paginationData"
align-count-on-right
custom-label="groups"
show-api-timing
:change-page="(p: number) => groupWrapperChangePage(p, vGroup)"
:hide-sidebars="true"
:style="`${props.depth && props.depth > 0 ? 'border-radius: 0 0 12px 12px !important;' : ''}margin-left: ${scrollBump}px;`"

2
packages/nc-gui/components/smartsheet/grid/Table.vue

@ -1682,7 +1682,7 @@ const loaderText = computed(() => {
v-if="headerOnly !== true"
:key="isMobileMode"
v-model:pagination-data="paginationDataRef"
show-api-timing
:show-api-timing="!isGroupBy"
align-count-on-right
:change-page="changePage"
:hide-sidebars="paginationStyleRef?.hideSidebars === true"

Loading…
Cancel
Save