mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-04 01:54:33 +02:00
Fix mobile ereader for new data model
This commit is contained in:
parent
066050700c
commit
6cea0ba03d
5 changed files with 60 additions and 45 deletions
|
@ -11,7 +11,7 @@ export const state = () => ({
|
|||
networkConnectionType: null,
|
||||
isFirstLoad: true,
|
||||
hasStoragePermission: false,
|
||||
selectedBook: null,
|
||||
selectedLibraryItem: null,
|
||||
showReader: false,
|
||||
showSideDrawer: false,
|
||||
isNetworkListenerInit: false,
|
||||
|
@ -91,8 +91,8 @@ export const mutations = {
|
|||
state.networkConnected = val.connected
|
||||
state.networkConnectionType = val.connectionType
|
||||
},
|
||||
openReader(state, audiobook) {
|
||||
state.selectedBook = audiobook
|
||||
openReader(state, libraryItem) {
|
||||
state.selectedLibraryItem = libraryItem
|
||||
state.showReader = true
|
||||
},
|
||||
setShowReader(state, val) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue