mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-05 02:25:45 +02:00
Fix:Android sync server progress to local progress #808
This commit is contained in:
parent
59b428100b
commit
e634132a39
2 changed files with 4 additions and 1 deletions
|
@ -190,10 +190,12 @@ export default {
|
|||
|
||||
console.log('[default] Calling syncLocalSessions')
|
||||
const response = await this.$db.syncLocalSessionsWithServer()
|
||||
if (response && response.error) {
|
||||
if (response?.error) {
|
||||
console.error('[default] Failed to sync local sessions', response.error)
|
||||
} else {
|
||||
console.log('[default] Successfully synced local sessions')
|
||||
// Reload local media progresses
|
||||
await this.$store.dispatch('globals/loadLocalMediaProgress')
|
||||
}
|
||||
},
|
||||
async syncLocalMediaProgress() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue