mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-22 11:49:37 +00:00
change color of book read icon #105, basic .pdf reader #107, fix: cover path updating properly #102, step forward/backward from book edit modal #100, add all files tab to edit modal #99, select input auto submit on blur #98
This commit is contained in:
parent
315592efe5
commit
03963aa9a1
27 changed files with 545 additions and 54 deletions
|
|
@ -9,6 +9,7 @@ export const state = () => ({
|
|||
showEditModal: false,
|
||||
showEReader: false,
|
||||
selectedAudiobook: null,
|
||||
selectedAudiobookFile: null,
|
||||
playOnLoad: false,
|
||||
developerMode: false,
|
||||
selectedAudiobooks: [],
|
||||
|
|
@ -16,7 +17,8 @@ export const state = () => ({
|
|||
previousPath: '/',
|
||||
routeHistory: [],
|
||||
showExperimentalFeatures: false,
|
||||
backups: []
|
||||
backups: [],
|
||||
bookshelfBookIds: []
|
||||
})
|
||||
|
||||
export const getters = {
|
||||
|
|
@ -66,6 +68,9 @@ export const actions = {
|
|||
}
|
||||
|
||||
export const mutations = {
|
||||
setBookshelfBookIds(state, val) {
|
||||
state.bookshelfBookIds = val || []
|
||||
},
|
||||
setRouteHistory(state, val) {
|
||||
state.routeHistory = val
|
||||
},
|
||||
|
|
@ -113,7 +118,15 @@ export const mutations = {
|
|||
state.showEditModal = val
|
||||
},
|
||||
showEReader(state, audiobook) {
|
||||
state.selectedAudiobookFile = null
|
||||
state.selectedAudiobook = audiobook
|
||||
|
||||
state.showEReader = true
|
||||
},
|
||||
showEReaderForFile(state, { audiobook, file }) {
|
||||
state.selectedAudiobookFile = file
|
||||
state.selectedAudiobook = audiobook
|
||||
|
||||
state.showEReader = true
|
||||
},
|
||||
setShowEReader(state, val) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue