From 28e1ed8ae31f307b43b8bf297ded889e71e0a103 Mon Sep 17 00:00:00 2001 From: Giulia Ghisini Date: Thu, 11 Apr 2024 12:03:22 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20view=20luoghi=20se=20c'=C3=A8=20solo=20i?= =?UTF-8?q?l=20nome=20della=20sede?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ItaliaTheme/View/EventoView/EventoLuoghi.jsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/ItaliaTheme/View/EventoView/EventoLuoghi.jsx b/src/components/ItaliaTheme/View/EventoView/EventoLuoghi.jsx index 8c0b635fd..ef2f4a89b 100644 --- a/src/components/ItaliaTheme/View/EventoView/EventoLuoghi.jsx +++ b/src/components/ItaliaTheme/View/EventoView/EventoLuoghi.jsx @@ -19,14 +19,14 @@ const EventoLuoghi = ({ content }) => { const intl = useIntl(); return content?.luoghi_correlati?.length > 0 || - content?.nome_sede > 0 || - content?.street > 0 || + content?.nome_sede?.length > 0 || + content?.street?.length > 0 || (content?.geolocation?.latitude && content?.geolocation?.longitude) || - content?.zip_code || - content?.city || - content?.quartiere || - content?.circoscrizione || - content?.country ? ( + content?.zip_code?.length > 0 || + content?.city?.length > 0 || + content?.quartiere?.length > 0 || + content?.circoscrizione?.length > 0 || + content?.country?.length > 0 ? (