mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-03 17:54:54 +02:00
Fix scan for audiobook directories in root dir
This commit is contained in:
parent
f4cb5d101e
commit
73a786879e
11 changed files with 157 additions and 11 deletions
|
@ -6,7 +6,8 @@ export const state = () => ({
|
|||
selectedAudiobook: null,
|
||||
playOnLoad: false,
|
||||
isScanning: false,
|
||||
scanProgress: null
|
||||
scanProgress: null,
|
||||
developerMode: false
|
||||
})
|
||||
|
||||
export const getters = {
|
||||
|
@ -59,5 +60,8 @@ export const mutations = {
|
|||
setScanProgress(state, progress) {
|
||||
if (progress > 0) state.isScanning = true
|
||||
state.scanProgress = progress
|
||||
},
|
||||
setDeveloperMode(state, val) {
|
||||
state.developerMode = val
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue