diff --git a/chrome/content/zotero/xpcom/sync/syncLocal.js b/chrome/content/zotero/xpcom/sync/syncLocal.js index 8edc0784d..15ce16b89 100644 --- a/chrome/content/zotero/xpcom/sync/syncLocal.js +++ b/chrome/content/zotero/xpcom/sync/syncLocal.js @@ -249,7 +249,7 @@ Zotero.Sync.Data.Local = { _libraryHasUnsyncedFiles: Zotero.Promise.coroutine(function* (libraryID) { yield Zotero.Sync.Storage.Local.checkForUpdatedFiles(libraryID); - return !!(yield Zotero.Sync.Storage.Local.getFilesToUpload(libraryID)); + return !!(yield Zotero.Sync.Storage.Local.getFilesToUpload(libraryID)).length; }),