mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-11-13 12:23:47 +01:00
Fix:Android sync server progress to local progress #808
This commit is contained in:
1 parent
59b428100b
commit
e634132a39
2 files changed
+4
-1
No files matched your search
+3
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user