diff --git a/src/components/ItaliaTheme/View/Commons/Attachment.jsx b/src/components/ItaliaTheme/View/Commons/Attachment.jsx index 65f883e8f..4f98a8c5b 100644 --- a/src/components/ItaliaTheme/View/Commons/Attachment.jsx +++ b/src/components/ItaliaTheme/View/Commons/Attachment.jsx @@ -13,12 +13,14 @@ const messages = defineMessages({ }); const Attachment = ({ title, description, download_url, item = {} }) => { - console.log(item); const intl = useIntl(); let _item = { ...item }; if (item['@type'] === 'File') { _item = item.file; } + if (item['@type'] === 'Image') { + _item = item.image; + } return ( {