fix: Nested document menu item appears where it shouldnt (#1193)

This commit is contained in:
Tom Moor
2020-02-26 21:10:10 -08:00
committed by GitHub
parent 148affb52e
commit d06ec5ce0c
4 changed files with 33 additions and 11 deletions

View File

@@ -230,7 +230,7 @@ class Header extends React.Component<Props> {
</Action>
)}
{canEdit &&
!isDraft && (
can.createChildDocument && (
<Action>
<NewChildDocumentMenu
document={document}