Fixed pagination. Added entity page channel tile expand.
This commit is contained in:
@@ -149,8 +149,14 @@ function go(page, event) {
|
||||
|
||||
function getPath(page) {
|
||||
const path = parse(routeParams.path)
|
||||
.map((segment) => (segment.name === 'page' ? String(page) : routeParams[segment.name] || segment))
|
||||
.join('/');
|
||||
.map((segment) => {
|
||||
if (segment.name === 'page') {
|
||||
return `/${page}`;
|
||||
}
|
||||
|
||||
return `${segment.prefix || ''}${routeParams[segment.name] || segment}`;
|
||||
})
|
||||
.join('');
|
||||
|
||||
if (props.includeQuery && urlParsed.searchOriginal) {
|
||||
return `${path}${urlParsed.searchOriginal}`;
|
||||
@@ -165,6 +171,7 @@ function getPath(page) {
|
||||
height: 5rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
box-sizing: border-box;
|
||||
padding: 1rem;
|
||||
font-size: 0;
|
||||
|
||||
Reference in New Issue
Block a user