Merge pull request #961 from barrycarey/issue-694-clear-issues

Pass lib ID to toolbar so it can refresh state when clearing issues.
This commit is contained in:
advplyr 2022-09-02 17:58:01 -05:00 committed by GitHub
commit c17612a233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -89,7 +89,7 @@ export default {
authors: {
type: Array,
default: () => []
}
},
},
data() {
return {
@ -215,6 +215,7 @@ export default {
this.$toast.success('Removed library items with issues')
this.$router.push(`/library/${this.currentLibraryId}/bookshelf`)
this.processingIssues = false
this.$store.dispatch('libraries/fetch', this.currentLibraryId)
})
.catch((error) => {
console.error('Failed to remove library items with issues', error)