Fix:PDF reader flickering & disable request progress indicator for ebook progress update events #2279

This commit is contained in:
advplyr 2024-05-31 16:32:38 -05:00
parent 95506bc638
commit ae412f2a57
3 changed files with 19 additions and 18 deletions

View file

@ -195,7 +195,7 @@ export default {
*/
updateProgress(payload) {
if (!this.keepProgress) return
this.$axios.$patch(`/api/me/progress/${this.libraryItemId}`, payload).catch((error) => {
this.$axios.$patch(`/api/me/progress/${this.libraryItemId}`, payload, { progress: false }).catch((error) => {
console.error('EpubReader.updateProgress failed:', error)
})
},