Merge pull request #1581 from mfcar/improvePodcastEditing

Improve podcast editing
This commit is contained in:
advplyr 2023-03-05 12:28:12 -06:00 committed by GitHub
commit aef2c52630
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 194 additions and 30 deletions

View file

@ -13,6 +13,7 @@ export const state = () => ({
playerQueueAutoPlay: true,
playerIsFullscreen: false,
editModalTab: 'details',
editPodcastModalTab: 'details',
showEditModal: false,
showEReader: false,
selectedLibraryItem: null,
@ -21,6 +22,7 @@ export const state = () => ({
previousPath: '/',
showExperimentalFeatures: false,
bookshelfBookIds: [],
episodeTableEpisodeIds: [],
openModal: null,
innerModalOpen: false,
lastBookshelfScrollData: {},
@ -135,6 +137,9 @@ export const mutations = {
setBookshelfBookIds(state, val) {
state.bookshelfBookIds = val || []
},
setEpisodeTableEpisodeIds(state, val) {
state.episodeTableEpisodeIds = val || []
},
setPreviousPath(state, val) {
state.previousPath = val
},
@ -198,6 +203,9 @@ export const mutations = {
setShowEditModal(state, val) {
state.showEditModal = val
},
setEditPodcastModalTab(state, tab) {
state.editPodcastModalTab = tab
},
showEReader(state, libraryItem) {
state.selectedLibraryItem = libraryItem
@ -225,4 +233,4 @@ export const mutations = {
setInnerModalOpen(state, val) {
state.innerModalOpen = val
}
}
}