Deduplicate libraryIDs passed to setSyncTimeout() for an auto-sync
This commit is contained in:
parent
5eb6935842
commit
d2b36c4218
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ Zotero.Sync.EventListeners.AutoSyncListener = {
|
|||
autoSyncDelay || this._editTimeout,
|
||||
false,
|
||||
{
|
||||
libraries: libraries.map(library => library.libraryID),
|
||||
libraries: [...new Set(libraries.map(library => library.libraryID))],
|
||||
fileLibraries: [...fileLibraries],
|
||||
fullTextLibraries: [...fullTextLibraries]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue