Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Dec 6, 2023
1 parent 591e2e0 commit 24589eb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/source/blocks/extensions.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
myst:
html_meta:
'description': "A common pattern in blocks is the 'variations' pattern - a slightly different versions of a block that can be toggled on demand by the editors."
'property=og:description': "A common pattern in blocks is the 'variations' pattern - a slightly different versions of a block that can be toggled on demand by the editors."
'property=og:title': 'Block extensions mechanism'
'keywords': 'Volto, Plone, frontend, React, Upgrade, Guide, Block extensions, variations, schema enhancers'
"description": "A common pattern in blocks is the 'variations' pattern - a slightly different versions of a block that can be toggled on demand by the editors."
"property=og:description": "A common pattern in blocks is the 'variations' pattern - a slightly different versions of a block that can be toggled on demand by the editors."
"property=og:title": "Block extensions mechanism"
"keywords": "Volto, Plone, frontend, React, Upgrade, Guide, Block extensions, variations, schema enhancers"
---

(extensions-block-extensions-mechanism)=
Expand Down
4 changes: 3 additions & 1 deletion packages/volto/src/components/manage/Add/Add.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,9 @@ class Add extends Component {
<Form
ref={this.form}
key="translated-or-new-content-form"
navRoot={this.props.content?.['@components']?.navroot || {}}
navRoot={
this.props.content?.['@components']?.navroot?.navroot || {}
}
schema={this.props.schema}
type={this.props.type}
formData={{
Expand Down

0 comments on commit 24589eb

Please sign in to comment.