DocumentPreview Improves (#141)

* Show collection name in search results
Highlight documents modified since last edited
Move views to scope

* Allow ESC key to work on Search page when input not focused

* Update document title with search query
Show loading indicator for search results

* WIP

* 💚 ?

* 💚

* Address PR feedback
This commit is contained in:
Tom Moor
2017-07-16 09:24:45 -07:00
committed by GitHub
parent b53f28fee8
commit 3b2ad193d5
9 changed files with 66 additions and 36 deletions

View File

@@ -101,9 +101,7 @@ router.post('documents.info', auth(), async ctx => {
}
ctx.body = {
data: await presentDocument(ctx, document, {
includeViews: true,
}),
data: await presentDocument(ctx, document),
};
});