diff --git a/apps/infoalloggi/src/components/servizio/servizio_actions.tsx b/apps/infoalloggi/src/components/servizio/servizio_actions.tsx index 84e03f4..880d6a0 100644 --- a/apps/infoalloggi/src/components/servizio/servizio_actions.tsx +++ b/apps/infoalloggi/src/components/servizio/servizio_actions.tsx @@ -121,7 +121,14 @@ export const AddAnnuncio = ({ Annuncio - + { + if (selectedAnnunci.length !== 0) { + e.preventDefault(); // Prevent closing the dialog if there are selected announcements + } + }} + > Aggiungi annuncio