diff --git a/src/components/ItaliaTheme/Blocks/ContactsBlock/Block/ViewBlock.jsx b/src/components/ItaliaTheme/Blocks/ContactsBlock/Block/ViewBlock.jsx index 2773c3171..b9b82397f 100644 --- a/src/components/ItaliaTheme/Blocks/ContactsBlock/Block/ViewBlock.jsx +++ b/src/components/ItaliaTheme/Blocks/ContactsBlock/Block/ViewBlock.jsx @@ -20,7 +20,7 @@ import { checkRedraftHasContent } from 'design-comuni-plone-theme/helpers'; const ViewBlock = ({ data, isOpen, toggle, id, index }) => { return ( - + {this.state.subblocks.map((subblock, subindex) => ( + {this.renderAddBlockButton( this.props.intl.formatMessage(messages.addItem), )} diff --git a/src/components/ItaliaTheme/Blocks/ContactsBlock/View.jsx b/src/components/ItaliaTheme/Blocks/ContactsBlock/View.jsx index 8a3524b5c..3adc7d719 100644 --- a/src/components/ItaliaTheme/Blocks/ContactsBlock/View.jsx +++ b/src/components/ItaliaTheme/Blocks/ContactsBlock/View.jsx @@ -42,9 +42,9 @@ const AccordionView = ({ data, block }) => { )} - + {data.subblocks.map((subblock, index) => ( - +