feat: TOC position for publicly shared docs (#7057)
* feat: TOC position for publicly shared docs * remove preferences object * comment * fix: Allow sidebar position preference without public branding switch --------- Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
@@ -439,8 +439,11 @@ router.post(
|
||||
apiVersion >= 2
|
||||
? {
|
||||
document: serializedDocument,
|
||||
team: team?.getPreference(TeamPreference.PublicBranding)
|
||||
? presentPublicTeam(team)
|
||||
team: team
|
||||
? presentPublicTeam(
|
||||
team,
|
||||
!!team?.getPreference(TeamPreference.PublicBranding)
|
||||
)
|
||||
: undefined,
|
||||
sharedTree:
|
||||
share && share.includeChildDocuments
|
||||
|
||||
Reference in New Issue
Block a user