Skip to content

Commit

Permalink
fix(webui): search view does not add custom roles
Browse files Browse the repository at this point in the history
  • Loading branch information
noaione committed Jan 19, 2023
1 parent a94c217 commit d8f5c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion komga-webui/src/views/SearchView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export default Vue.extend({
},
singleEditBook(book: BookDto) {
const customRole = getCustomRolesForSeries(this.loaderBooks?.items || [], book.seriesId)
this.$store.dispatch('dialogUpdateBooks', {books: book, customRole})
this.$store.dispatch('dialogUpdateBooks', {books: book, roles: customRole})
},
singleEditCollection(collection: CollectionDto) {
this.$store.dispatch('dialogEditCollection', collection)
Expand Down

0 comments on commit d8f5c2d

Please sign in to comment.