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…
Reference in a new issue