Skip to content

Commit

Permalink
fix(webui): missing data on back navigation with filters
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Jan 30, 2020
1 parent be6a7fc commit f1952ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions komga-webui/src/views/BrowseLibraries.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 2 additions & 0 deletions komga-webui/src/views/BrowseSeries.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f1952ee

Please sign in to comment.