Add level: 0 for libraries in target list for connector

This commit is contained in:
Dan Stillman 2018-04-27 18:59:11 -04:00
parent a0d85c0673
commit 41590741ba

View file

@ -1118,7 +1118,8 @@ Zotero.Server.Connector.GetSelectedCollection.prototype = {
collections.push(
{
id: library.treeViewID,
name: library.name
name: library.name,
level: 0
},
...Zotero.Collections.getByLibrary(library.libraryID, true).map(c => ({
id: c.treeViewID,