mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-30 22:59:37 +02:00
Add: Experimental collections edit, book list, collection cover #151
This commit is contained in:
parent
28ccd4e568
commit
465e6869c0
31 changed files with 555 additions and 60 deletions
|
@ -1,6 +1,8 @@
|
|||
|
||||
export const state = () => ({
|
||||
showUserCollectionsModal: false
|
||||
showUserCollectionsModal: false,
|
||||
showEditCollectionModal: false,
|
||||
selectedCollection: null
|
||||
})
|
||||
|
||||
export const getters = {
|
||||
|
@ -14,5 +16,12 @@ export const actions = {
|
|||
export const mutations = {
|
||||
setShowUserCollectionsModal(state, val) {
|
||||
state.showUserCollectionsModal = val
|
||||
},
|
||||
setShowEditCollectionModal(state, val) {
|
||||
state.showEditCollectionModal = val
|
||||
},
|
||||
setEditCollection(state, collection) {
|
||||
state.selectedCollection = collection
|
||||
state.showEditCollectionModal = true
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue