fix(editor): Sort insights table with tabs (no-changelog) (#14467)

This commit is contained in:
Raúl Gómez Morales
2025-04-09 09:16:12 +02:00
committed by GitHub
parent 2a5c3d4990
commit 707ecb63ae
4 changed files with 19 additions and 27 deletions

View File

@@ -203,7 +203,7 @@ const page = defineModel<number>('page', { default: 0 });
watch(page, () => table.setPageIndex(page.value));
const itemsPerPage = defineModel<number>('items-per-page', { default: 10 });
watch(itemsPerPage, () => table.setPageSize(itemsPerPage.value));
watch(itemsPerPage, () => (page.value = 0));
const pagination = computed<PaginationState>({
get() {