Better individual scenes for documents

This commit is contained in:
Jori Lallo
2016-05-22 07:25:13 -07:00
parent 73e13e1849
commit b840b300b5
9 changed files with 50 additions and 7 deletions

View File

@@ -69,6 +69,9 @@ export async function presentDocument(document, includeAtlas=false) {
if (includeAtlas) {
const atlas = await document.getAtlas();
data.atlas = await presentAtlas(atlas, false);
const user = await document.getUser();
data.user = await presentUser(user, false);
}
return data;