Added API to update document tree

This commit is contained in:
Jori Lallo
2016-06-25 22:27:44 -07:00
parent 7ea6eb5d28
commit a0649e6fd3
11 changed files with 182 additions and 30 deletions

View File

@ -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) {