Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: always show query result pagination (#14299)

Liu Jie75bf1643f19
diff --git a/frontend/src/views/sql-editor/EditorCommon/ResultView/SingleResultViewV1.vue b/frontend/src/views/sql-editor/EditorCommon/ResultView/SingleResultViewV1.vue
index 5f9d0c7fda..c4c0e8d316 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ResultView/SingleResultViewV1.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/ResultView/SingleResultViewV1.vue
@@ -44,7 +44,6 @@
</span>
</div>
<NPagination
- v-if="showPagination"
:simple="true"
:item-count="table.getCoreRowModel().rows.length"
:page="pageIndex + 1"
@@ -525,8 +524,6 @@ const visualizeExplain = () => {
}
};
-const showPagination = computed(() => data.value.length > pageSize.value);
-
const handleChangePage = (page: number) => {
table.setPageIndex(page - 1);
};