Pinned documents (#608)
* Migrations and API for pinned documents * Documentation * Add pin icon * Fin. * v0.2.0 * Remove pin from DocumentPreview, add general menu Add Pinned documents header * Tidy * Fixed: Drafts appearing on collection home
This commit is contained in:
@ -39,6 +39,7 @@ async function present(ctx: Object, document: Document, options: ?Options) {
|
||||
team: document.teamId,
|
||||
collaborators: [],
|
||||
starred: !!(document.starred && document.starred.length),
|
||||
pinned: !!document.pinnedById,
|
||||
revision: document.revisionCount,
|
||||
collectionId: document.atlasId,
|
||||
collaboratorCount: undefined,
|
||||
|
Reference in New Issue
Block a user