mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 12:35:30 +02:00
fix default page
This commit is contained in:
parent
754040cf55
commit
1795511260
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ import * as v from 'valibot'
|
|||
* The consumer is responsible for updating `pageCount`.
|
||||
*/
|
||||
export function usePagination() {
|
||||
const queryPage = useRouteQuery('page', '1', {
|
||||
const queryPage = useRouteQuery('page', 1, {
|
||||
transform: (input) => v.parse(SchemaStrictlyPositive, input),
|
||||
})
|
||||
const page0 = ref(queryPage.value - 1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue