From 5f9ddb50620db1e3eec26cbaa9fbfb01ddfb8188 Mon Sep 17 00:00:00 2001 From: Giulia Ghisini <51911425+giuliaghisini@users.noreply.github.com> Date: Fri, 10 Jan 2025 12:52:42 +0100 Subject: [PATCH] fix: uo responsabili image check --- .../View/PaginaArgomentoView/PaginaArgomentoView.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoView.jsx b/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoView.jsx index 8d3a1ac9b..c83f9013c 100644 --- a/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoView.jsx +++ b/src/components/ItaliaTheme/View/PaginaArgomentoView/PaginaArgomentoView.jsx @@ -79,7 +79,7 @@ const PaginaArgomentoView = ({ content }) => { ) { alt = uo_object?.preview_caption; } else if ( - uo_object?.image_scales?.image.length > 0 && + uo_object?.image_scales?.image?.length > 0 && uo_object?.image_caption ) { alt = uo_object?.image_caption;