From bdc0622f59e98c9e6c542f5cb59a2dbd9008ba96 Mon Sep 17 00:00:00 2001 From: Michael Kret <88898367+michael-radency@users.noreply.github.com> Date: Wed, 25 Sep 2024 11:15:10 +0300 Subject: [PATCH] feat: Page size 1 option (#10957) --- .../design-system/src/components/N8nDatatable/Datatable.vue | 2 +- packages/editor-ui/src/components/RunData.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/design-system/src/components/N8nDatatable/Datatable.vue b/packages/design-system/src/components/N8nDatatable/Datatable.vue index 3a28a4d54c..905aef4671 100644 --- a/packages/design-system/src/components/N8nDatatable/Datatable.vue +++ b/packages/design-system/src/components/N8nDatatable/Datatable.vue @@ -31,7 +31,7 @@ const emit = defineEmits<{ }>(); const { t } = useI18n(); -const rowsPerPageOptions = ref([10, 25, 50, 100]); +const rowsPerPageOptions = ref([1, 10, 25, 50, 100]); const $style = useCssModule(); diff --git a/packages/editor-ui/src/components/RunData.vue b/packages/editor-ui/src/components/RunData.vue index 870552d624..4885ee7ed9 100644 --- a/packages/editor-ui/src/components/RunData.vue +++ b/packages/editor-ui/src/components/RunData.vue @@ -200,7 +200,7 @@ export default defineComponent({ MAX_DISPLAY_ITEMS_AUTO_ALL, currentPage: 1, pageSize: 10, - pageSizes: [10, 25, 50, 100], + pageSizes: [1, 10, 25, 50, 100], pinDataDiscoveryTooltipVisible: false, isControlledPinDataTooltip: false,