mirror of
https://github.com/zotero/zotero.git
synced 2026-08-28 05:25:31 +00:00
Fix Zotero.Sync.Data.Local._libraryHasUnsyncedFiles()
Always returned true
This commit is contained in:
parent
f7074a75b5
commit
b21729edd1
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}),
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue