2021-11-06 02:24:02 +01:00
|
|
|
|
|
|
|
export const state = () => ({
|
2021-11-07 02:31:46 +01:00
|
|
|
showUserCollectionsModal: false,
|
|
|
|
showEditCollectionModal: false,
|
|
|
|
selectedCollection: null
|
2021-11-06 02:24:02 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
export const getters = {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export const actions = {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export const mutations = {
|
|
|
|
setShowUserCollectionsModal(state, val) {
|
|
|
|
state.showUserCollectionsModal = val
|
2021-11-07 02:31:46 +01:00
|
|
|
},
|
|
|
|
setShowEditCollectionModal(state, val) {
|
|
|
|
state.showEditCollectionModal = val
|
|
|
|
},
|
|
|
|
setEditCollection(state, collection) {
|
|
|
|
state.selectedCollection = collection
|
|
|
|
state.showEditCollectionModal = true
|
2021-11-06 02:24:02 +01:00
|
|
|
}
|
|
|
|
}
|