mirror of
https://github.com/gotson/komga.git
synced 2025-12-21 07:56:57 +01:00
fix(webui): missing data on back navigation with filters
This commit is contained in:
parent
be6a7fc717
commit
f1952eee4a
2 changed files with 4 additions and 0 deletions
|
|
@ -153,6 +153,8 @@ export default mixins(VisibleElements).extend({
|
||||||
// restore filter status from query params
|
// restore filter status from query params
|
||||||
this.filterStatus = this.parseQueryFilterStatus(this.$route.query.status)
|
this.filterStatus = this.parseQueryFilterStatus(this.$route.query.status)
|
||||||
|
|
||||||
|
this.reloadData(Number(this.$route.params.libraryId), this.series.length)
|
||||||
|
|
||||||
this.setWatches()
|
this.setWatches()
|
||||||
},
|
},
|
||||||
beforeRouteUpdate (to, from, next) {
|
beforeRouteUpdate (to, from, next) {
|
||||||
|
|
|
||||||
|
|
@ -180,6 +180,8 @@ export default mixins(VisibleElements).extend({
|
||||||
// restore sort from query param
|
// restore sort from query param
|
||||||
this.sortActive = this.parseQuerySortOrDefault(this.$route.query.sort)
|
this.sortActive = this.parseQuerySortOrDefault(this.$route.query.sort)
|
||||||
|
|
||||||
|
this.reloadData(Number(this.$route.params.seriesId), this.books.length)
|
||||||
|
|
||||||
this.setWatches()
|
this.setWatches()
|
||||||
},
|
},
|
||||||
async beforeRouteUpdate (to, from, next) {
|
async beforeRouteUpdate (to, from, next) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue