mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-04-19 13:39:42 +00:00
Add Alt+Q shortcut for Match / Quick Match
This commit is contained in:
parent
2f8a3c9fc7
commit
9c0bb3162f
3 changed files with 14 additions and 0 deletions
|
|
@ -517,6 +517,10 @@ export default {
|
|||
this.$store.commit('setBookshelfBookIds', [])
|
||||
this.$store.commit('showEditModalOnTab', { libraryItem: this.libraryItem, tab: 'cover' })
|
||||
},
|
||||
showEditMatch() {
|
||||
this.$store.commit('setBookshelfBookIds', [])
|
||||
this.$store.commit('showEditModalOnTab', { libraryItem: this.libraryItem, tab: 'match' })
|
||||
},
|
||||
openEbook() {
|
||||
this.$store.commit('showEReader', { libraryItem: this.libraryItem, keepProgress: true })
|
||||
},
|
||||
|
|
@ -912,6 +916,7 @@ export default {
|
|||
this.contextMenuAction({ action: 'move' })
|
||||
})
|
||||
this.$eventBus.$on('item_shortcut_reset', this.resetMetadata)
|
||||
this.$eventBus.$on('item_shortcut_match', this.showEditMatch)
|
||||
},
|
||||
beforeDestroy() {
|
||||
this.$eventBus.$off(`${this.libraryItem.id}_updated`, this.libraryItemUpdated)
|
||||
|
|
@ -928,6 +933,7 @@ export default {
|
|||
this.$eventBus.$off('item_shortcut_consolidate', this.consolidate)
|
||||
this.$eventBus.$off('item_shortcut_move')
|
||||
this.$eventBus.$off('item_shortcut_reset', this.resetMetadata)
|
||||
this.$eventBus.$off('item_shortcut_match', this.showEditMatch)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue