diff --git a/apps/infoalloggi/src/components/servizio/main.tsx b/apps/infoalloggi/src/components/servizio/main.tsx index 06ba4d9..192be35 100644 --- a/apps/infoalloggi/src/components/servizio/main.tsx +++ b/apps/infoalloggi/src/components/servizio/main.tsx @@ -190,9 +190,10 @@ export const ServizioContent = () => { ); } - const openContattiCount = servizio.annunci.filter( - (a) => a.open_contatti_at !== null, - ).length; + const openContattiAnnunci = servizio.annunci.filter( + (a) => a.open_contatti_at !== null && a.user_confirmed_at === null, + + ); const annunciInConferma = servizio.annunci.filter( (a) => a.user_confirmed_at !== null, @@ -211,9 +212,9 @@ export const ServizioContent = () => { Contatti sbloccati - {openContattiCount} / 10 + {openContattiAnnunci.length} / 10 - + @@ -255,6 +256,15 @@ export const ServizioContent = () => { )}
+
+ {openContattiAnnunci.map((data) => { + return ( + + + + ); + })} +
{annunciInConferma.map((data) => { return (