diff --git a/src/components/ItaliaTheme/View/CartellaModulisticaView/CartellaModulisticaView.jsx b/src/components/ItaliaTheme/View/CartellaModulisticaView/CartellaModulisticaView.jsx index c5fd612b5..1b7eb730f 100644 --- a/src/components/ItaliaTheme/View/CartellaModulisticaView/CartellaModulisticaView.jsx +++ b/src/components/ItaliaTheme/View/CartellaModulisticaView/CartellaModulisticaView.jsx @@ -116,7 +116,6 @@ const CartellaModulisticaView = ({ content }) => { return section['@type'] === 'Document' ? (
{/*

{section.title}

*/} - {section.blocks && Object.keys(section.blocks)?.length > 0 && ( @@ -131,16 +130,20 @@ const CartellaModulisticaView = ({ content }) => {
{section.items.filter(filterDocumento).map((doc) => { - const items = doc.items.filter(filterItemsFN); - return ( - - ); + if (doc.items) { + const items = doc.items.filter(filterItemsFN); + return ( + + ); + } else { + return ; + } })} )}