From 0cbc56464e4facf7129203be148934652e145e92 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 17 Apr 2024 11:07:21 +0000 Subject: [PATCH] fix: handle pagination offset in gui --- packages/nc-gui/components/smartsheet/Pagination.vue | 4 +++- packages/nc-gui/composables/useViewData.ts | 11 ++++++----- packages/nocodb/src/helpers/PagedResponse.ts | 9 +++++---- 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/packages/nc-gui/components/smartsheet/Pagination.vue b/packages/nc-gui/components/smartsheet/Pagination.vue index 8a248e18cb..65999134c2 100644 --- a/packages/nc-gui/components/smartsheet/Pagination.vue +++ b/packages/nc-gui/components/smartsheet/Pagination.vue @@ -66,6 +66,8 @@ const isRTLLanguage = computed(() => isRtlLang(locale.value as keyof typeof Lang const renderAltOrOptlKey = () => { return isMac() ? '⌥' : 'ALT' } + +const tempPageVal = ref(page.value)