Update episode list to come from component ref, populate queue from table order when playing episode

This commit is contained in:
advplyr 2025-02-25 17:25:56 -06:00
parent 72169990ac
commit fd1c8ee513
3 changed files with 11 additions and 28 deletions

View file

@ -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
},