mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-22 19:59:37 +00:00
Add:Batch add/remove books from collection
This commit is contained in:
parent
b76e3e4c54
commit
448514af9e
7 changed files with 166 additions and 42 deletions
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
export const state = () => ({
|
||||
showBatchUserCollectionModal: false,
|
||||
showUserCollectionsModal: false,
|
||||
showEditCollectionModal: false,
|
||||
selectedCollection: null
|
||||
|
|
@ -15,6 +16,11 @@ export const actions = {
|
|||
|
||||
export const mutations = {
|
||||
setShowUserCollectionsModal(state, val) {
|
||||
state.showBatchUserCollectionModal = false
|
||||
state.showUserCollectionsModal = val
|
||||
},
|
||||
setShowBatchUserCollectionsModal(state, val) {
|
||||
state.showBatchUserCollectionModal = true
|
||||
state.showUserCollectionsModal = val
|
||||
},
|
||||
setShowEditCollectionModal(state, val) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue