fix: pagination on table view should not open the list view
Resolves https://kolaente.dev/vikunja/frontend/issues/2173
This commit is contained in:
parent
f5bb697032
commit
a4d3cafdf1
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue