From a4d3cafdf121f9261e12b390072ff9acfd1157e1 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 19 Jul 2022 17:11:11 +0200 Subject: [PATCH] fix: pagination on table view should not open the list view Resolves https://kolaente.dev/vikunja/frontend/issues/2173 --- src/components/misc/pagination.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/misc/pagination.vue b/src/components/misc/pagination.vue index 00eeebc9..930db062 100644 --- a/src/components/misc/pagination.vue +++ b/src/components/misc/pagination.vue @@ -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, },