Added API to update document tree
This commit is contained in:
@ -33,7 +33,7 @@ export function presentAtlas(atlas, includeRecentDocuments=false) {
|
||||
|
||||
if (atlas.type === 'atlas') {
|
||||
// Todo replace with `.atlasStructure`
|
||||
data.structure = await atlas.buildStructure();
|
||||
data.structure = await atlas.getStructure();
|
||||
}
|
||||
|
||||
if (includeRecentDocuments) {
|
||||
|
Reference in New Issue
Block a user