diff --git a/chrome/content/zotero/xpcom/connector/server_connector.js b/chrome/content/zotero/xpcom/connector/server_connector.js index 06a3354f43..4f8023a603 100644 --- a/chrome/content/zotero/xpcom/connector/server_connector.js +++ b/chrome/content/zotero/xpcom/connector/server_connector.js @@ -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,