fix: issue-2956 (#2957)

This commit is contained in:
Nan Yu
2022-01-19 18:24:25 -08:00
committed by GitHub
parent 8bced69828
commit 266f8c96c4
5 changed files with 9 additions and 3 deletions

View File

@@ -165,7 +165,7 @@ function SharePopover({
<HelpText>{t("Only team members with permission can view")}</HelpText>
)}
{canPublish && share?.published && (
{canPublish && share?.published && !document.isDraft && (
<SwitchWrapper>
<Switch
id="includeChildDocuments"