When saving PDF read position always set it to the current page
This commit is contained in:
@ -413,6 +413,7 @@ export default function PdfArticleContainer(
|
||||
}
|
||||
await articleReadingProgressMutation({
|
||||
id: props.article.id,
|
||||
force: true,
|
||||
readingProgressPercent: percent,
|
||||
readingProgressAnchorIndex: pageIndex,
|
||||
})
|
||||
|
||||
@ -3,6 +3,7 @@ import { gqlFetcher } from '../networkHelpers'
|
||||
|
||||
export type ArticleReadingProgressMutationInput = {
|
||||
id: string
|
||||
force?: boolean
|
||||
readingProgressPercent?: number
|
||||
readingProgressTopPercent?: number
|
||||
readingProgressAnchorIndex?: number
|
||||
|
||||
Reference in New Issue
Block a user