fix: reset page index when total page count shrinks below current page

This commit is contained in:
pa
2026-03-18 21:03:23 +09:00
parent 91cfbefd40
commit 647a902e9f
2 changed files with 14 additions and 0 deletions

View File

@@ -251,6 +251,7 @@
const D = previousInstancesListDialog.value;
if (currentId.value !== D.lastId) {
table.setPageIndex(0);
pageIndex.value = 0;
D.lastId = currentId.value;
}
if (props.variant === 'user') {