fix: pagination on table view should not open the list view

Resolves https://kolaente.dev/vikunja/frontend/issues/2173
This commit is contained in:
kolaente 2022-07-19 17:11:11 +02:00
parent f5bb697032
commit a4d3cafdf1
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

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