Skip to content

Commit

Permalink
fix(webui): adjust series unread count when marking books
Browse files Browse the repository at this point in the history
  • Loading branch information
gotson committed Jun 4, 2020
1 parent a59f263 commit 31e21fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions komga-webui/src/views/BrowseSeries.vue
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ export default Vue.extend({
this.selectedBooks = await Promise.all(this.selectedBooks.map(b =>
this.$komgaBooks.getBook(b.id),
))
this.loadSeries(this.seriesId)
},
async markSelectedUnread () {
await Promise.all(this.selectedBooks.map(b =>
Expand All @@ -366,6 +367,7 @@ export default Vue.extend({
this.selectedBooks = await Promise.all(this.selectedBooks.map(b =>
this.$komgaBooks.getBook(b.id),
))
this.loadSeries(this.seriesId)
},
async markRead () {
await this.$komgaSeries.markAsRead(this.seriesId)
Expand Down

0 comments on commit 31e21fe

Please sign in to comment.