Add Prev/Next buttons on podcast editing

This commit is contained in:
mfcar 2023-03-04 19:04:55 +00:00
parent 12f231b886
commit 72396c5a98
No known key found for this signature in database
5 changed files with 166 additions and 10 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
}
}
}