Cambio nome

This commit is contained in:
2026-03-19 16:58:23 +01:00
parent c34d6bb080
commit 83e494e171
29 changed files with 105 additions and 105 deletions
+5 -5
View File
@@ -39,7 +39,7 @@ export function useWebSocket() {
if (!message.is_read) {
const from = message.from_address || 'Mittente sconosciuto'
const subject = message.subject || '(nessun oggetto)'
toast.success(`📨 Nuova PEC da ${from}: ${subject}`, {
toast.success(` Nuova PEC da ${from}: ${subject}`, {
duration: 5000,
id: `new-msg-${message.id}`,
})
@@ -55,7 +55,7 @@ export function useWebSocket() {
}
updateMailboxStatus(mailbox_id, status, error_msg)
if (status === 'error') {
toast.error(`⚠️ Errore sincronizzazione casella`, { duration: 8000 })
toast.error(` Errore sincronizzazione casella`, { duration: 8000 })
}
break
}
@@ -67,16 +67,16 @@ export function useWebSocket() {
mailbox_id: string
}
if (status === 'sent') {
toast.success(' PEC inviata con successo', { duration: 4000 })
toast.success(' PEC inviata con successo', { duration: 4000 })
} else if (status === 'failed') {
toast.error(' Invio PEC fallito definitivamente', { duration: 8000 })
toast.error(' Invio PEC fallito definitivamente', { duration: 8000 })
}
break
}
case 'send_job:anomaly': {
toast.error(
'⚠️ Anomalia invio PEC: nessuna ricevuta di accettazione entro 24h',
' Anomalia invio PEC: nessuna ricevuta di accettazione entro 24h',
{ duration: 10000 },
)
break