mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-08 03:32:43 +02:00
Fix scan for audiobook directories in root dir
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user