Fixes: Documents marked as starred incorrectly
This commit is contained in:
@ -31,7 +31,7 @@ async function present(ctx: Object, document: Document, options: ?Options) {
|
|||||||
lastViewedAt: undefined,
|
lastViewedAt: undefined,
|
||||||
team: document.teamId,
|
team: document.teamId,
|
||||||
collaborators: [],
|
collaborators: [],
|
||||||
starred: !!document.starred,
|
starred: !!document.starred.length,
|
||||||
collaboratorCount: undefined,
|
collaboratorCount: undefined,
|
||||||
collection: undefined,
|
collection: undefined,
|
||||||
views: undefined,
|
views: undefined,
|
||||||
|
Reference in New Issue
Block a user