mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-03 09:44:41 +02:00
Fix experimental e-reader with new data model
This commit is contained in:
parent
88354de495
commit
a90cfc4d04
7 changed files with 61 additions and 71 deletions
|
@ -11,7 +11,6 @@ export const state = () => ({
|
|||
showEditModal: false,
|
||||
showEReader: false,
|
||||
selectedLibraryItem: null,
|
||||
selectedAudiobookFile: null,
|
||||
developerMode: false,
|
||||
selectedLibraryItems: [],
|
||||
processingBatch: false,
|
||||
|
@ -141,13 +140,6 @@ export const mutations = {
|
|||
state.showEditModal = val
|
||||
},
|
||||
showEReader(state, libraryItem) {
|
||||
state.selectedAudiobookFile = null
|
||||
state.selectedLibraryItem = libraryItem
|
||||
|
||||
state.showEReader = true
|
||||
},
|
||||
showEReaderForFile(state, { libraryItem, file }) {
|
||||
state.selectedAudiobookFile = file
|
||||
state.selectedLibraryItem = libraryItem
|
||||
|
||||
state.showEReader = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue