mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-09 12:12:43 +02:00
Update episode list to come from component ref, populate queue from table order when playing episode
This commit is contained in:
@@ -25,7 +25,6 @@ export const state = () => ({
|
||||
previousPath: '/',
|
||||
bookshelfBookIds: [],
|
||||
episodeTableEpisodeIds: [],
|
||||
sortedEpisodeIds: [],
|
||||
openModal: null,
|
||||
innerModalOpen: false,
|
||||
lastBookshelfScrollData: {},
|
||||
@@ -62,9 +61,6 @@ export const getters = {
|
||||
getHomeBookshelfView: (state) => {
|
||||
if (!state.serverSettings || isNaN(state.serverSettings.homeBookshelfView)) return Constants.BookshelfView.STANDARD
|
||||
return state.serverSettings.homeBookshelfView
|
||||
},
|
||||
getSortedEpisodeIds: (state) => {
|
||||
return state.sortedEpisodeIds || []
|
||||
}
|
||||
}
|
||||
|
||||
@@ -150,9 +146,6 @@ export const mutations = {
|
||||
setEpisodeTableEpisodeIds(state, val) {
|
||||
state.episodeTableEpisodeIds = val || []
|
||||
},
|
||||
setSortedEpisodeIds(state, episodeIds) {
|
||||
state.sortedEpisodeIds = episodeIds || []
|
||||
},
|
||||
setPreviousPath(state, val) {
|
||||
state.previousPath = val
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user