feat: Add admin UI for enabling collab editing

This commit is contained in:
Tom Moor
2021-10-04 22:00:47 -07:00
parent e61c71766f
commit 552755dace
5 changed files with 88 additions and 1 deletions

View File

@@ -8,7 +8,9 @@ export default function present(team: Team) {
name: team.name,
avatarUrl: team.logoUrl,
sharing: team.sharing,
collaborativeEditing: team.collaborativeEditing && env.COLLABORATION_URL,
collaborativeEditing: !!(
team.collaborativeEditing && env.COLLABORATION_URL
),
documentEmbeds: team.documentEmbeds,
guestSignin: team.guestSignin,
subdomain: team.subdomain,