fix: pagination on table view should not open the list view
continuous-integration/drone/push Build is passing Details

Resolves #2173
This commit is contained in:
kolaente 2022-07-19 17:11:11 +02:00
parent f5bb697032
commit a4d3cafdf1
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -69,9 +69,9 @@ function createPagination(totalPages: number, currentPage: number) {
return pages
}
function getRouteForPagination(page = 1, type = 'list') {
function getRouteForPagination(page = 1, type = null) {
return {
name: 'list.' + type,
name: type,
params: {
type: type,
},