feat: Page size 1 option (#10957)

This commit is contained in:
Michael Kret 2024-09-25 11:15:10 +03:00 committed by GitHub
parent 422c9463c8
commit bdc0622f59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

@ -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,