mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 02:05:06 +02:00
Adding files tables, fixing loading when switching streams
This commit is contained in:
parent
30ca0bb95f
commit
a89d2e71cc
18 changed files with 233 additions and 76 deletions
|
@ -25,7 +25,6 @@ export const actions = {
|
|||
export const mutations = {
|
||||
setUser(state, user) {
|
||||
state.user = user
|
||||
console.log('SETUSER', user)
|
||||
if (user.token) {
|
||||
localStorage.setItem('token', user.token)
|
||||
}
|
||||
|
@ -58,6 +57,7 @@ export const mutations = {
|
|||
state.isScanning = isScanning
|
||||
},
|
||||
setScanProgress(state, progress) {
|
||||
if (progress > 0) state.isScanning = true
|
||||
state.scanProgress = progress
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue