Fixed actors URL not updating on pagination.
This commit is contained in:
@@ -166,7 +166,7 @@ const filters = ref({
|
|||||||
function getPath(preserveQuery) {
|
function getPath(preserveQuery) {
|
||||||
const path = parse(routeParams.path).map((segment) => {
|
const path = parse(routeParams.path).map((segment) => {
|
||||||
if (segment.name === 'page') {
|
if (segment.name === 'page') {
|
||||||
return `${segment.prefix}${1}`;
|
return `${segment.prefix}${currentPage.value || 1}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
return `${segment.prefix || ''}${routeParams[segment.name] || segment}`;
|
return `${segment.prefix || ''}${routeParams[segment.name] || segment}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user