fix(webui): mark read progress instantly

closes #475
This commit is contained in:
Gauthier Roebroeck 2021-04-26 16:12:43 +08:00
parent 5c99f09b8b
commit 97cc3e043d

View file

@ -427,7 +427,7 @@ export default Vue.extend({
page(val) { page(val) {
this.updateRoute() this.updateRoute()
this.goToPage = val this.goToPage = val
this.markProgress(val) // this.markProgress(val)
}, },
}, },
computed: { computed: {
@ -672,6 +672,7 @@ export default Vue.extend({
}, },
goTo(page: number) { goTo(page: number) {
this.page = page this.page = page
this.markProgress(page)
}, },
goToFirst() { goToFirst() {
this.goTo(1) this.goTo(1)