mirror of
https://github.com/gotson/komga.git
synced 2025-12-20 23:45:11 +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
|
||||
this.filterStatus = this.parseQueryFilterStatus(this.$route.query.status)
|
||||
|
||||
this.reloadData(Number(this.$route.params.libraryId), this.series.length)
|
||||
|
||||
this.setWatches()
|
||||
},
|
||||
beforeRouteUpdate (to, from, next) {
|
||||
|
|
|
|||
|
|
@ -180,6 +180,8 @@ export default mixins(VisibleElements).extend({
|
|||
// restore sort from query param
|
||||
this.sortActive = this.parseQuerySortOrDefault(this.$route.query.sort)
|
||||
|
||||
this.reloadData(Number(this.$route.params.seriesId), this.books.length)
|
||||
|
||||
this.setWatches()
|
||||
},
|
||||
async beforeRouteUpdate (to, from, next) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue