mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-12 13:34:24 +02:00
Add:Batch add/remove books from collection
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user