[web] Add mainBibliographyDocId to projects (#20842)

GitOrigin-RevId: 5358ef5cf0b9aaeadfe360c1bdc575fd1bf7344d
This commit is contained in:
Mathias Jakobsen
2024-10-29 09:04:42 +00:00
committed by Copybot
parent 9cafe8735d
commit c9ed5f6a79
10 changed files with 273 additions and 0 deletions
@@ -23,6 +23,7 @@ module.exports = ProjectEditorHandler = {
_id: project._id,
name: project.name,
rootDoc_id: project.rootDoc_id,
mainBibliographyDoc_id: project.mainBibliographyDoc_id,
rootFolder: [this.buildFolderModelView(project.rootFolder[0])],
publicAccesLevel: project.publicAccesLevel,
dropboxEnabled: !!project.existsInDropbox,