fix: Nested document menu item appears where it shouldnt (#1193)
This commit is contained in:
@@ -185,7 +185,7 @@ class DocumentMenu extends React.Component<Props> {
|
||||
</DropdownMenuItem>
|
||||
</React.Fragment>
|
||||
)}
|
||||
{can.update && (
|
||||
{can.createChildDocument && (
|
||||
<DropdownMenuItem
|
||||
onClick={this.handleNewChild}
|
||||
title="Create a nested document inside the current document"
|
||||
|
||||
Reference in New Issue
Block a user