mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-08 11:19:40 +00:00
Update episode list to come from component ref, populate queue from table order when playing episode
This commit is contained in:
parent
72169990ac
commit
fd1c8ee513
3 changed files with 11 additions and 28 deletions
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue