Pass empty array to sync/finish event if no synced libraries
This commit is contained in:
parent
3de40256bf
commit
74fe2a2bdc
|
@ -223,7 +223,7 @@ Zotero.Sync.Runner_Module = function (options = {}) {
|
|||
}
|
||||
|
||||
Zotero.debug("Done syncing");
|
||||
Zotero.Notifier.trigger('finish', 'sync', librariesToSync);
|
||||
Zotero.Notifier.trigger('finish', 'sync', librariesToSync || []);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user