mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-07 12:29:36 +00:00
Fix item edit modal show next/prev arrows when opening from Files or Match context menu item #4718
This commit is contained in:
parent
3e876e3383
commit
cafd92e206
5 changed files with 10 additions and 10 deletions
|
|
@ -132,10 +132,10 @@ export default {
|
|||
editAuthor(author) {
|
||||
this.$store.commit('globals/showEditAuthorModal', author)
|
||||
},
|
||||
editItem(libraryItem) {
|
||||
editItem(libraryItem, tab = 'details') {
|
||||
var itemIds = this.items.map((e) => e.id)
|
||||
this.$store.commit('setBookshelfBookIds', itemIds)
|
||||
this.$store.commit('showEditModal', libraryItem)
|
||||
this.$store.commit('showEditModalOnTab', { libraryItem, tab: tab || 'details' })
|
||||
},
|
||||
selectItem(payload) {
|
||||
this.$emit('selectEntity', payload)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue