diff --git a/StandManager/Components/Pages/ScanNew.razor b/StandManager/Components/Pages/ScanNew.razor
index b3484e5..476ff49 100644
--- a/StandManager/Components/Pages/ScanNew.razor
+++ b/StandManager/Components/Pages/ScanNew.razor
@@ -120,8 +120,9 @@
}
-
-
+
+
+
@if (!string.IsNullOrEmpty(invalidMessage))
{
@@ -276,7 +277,7 @@
iscrizione.Partecipanti = numPartecipanti;
await _managerService.IscrizioneEventoService.Salva(iscrizione);
- confirmationMessage = $"La presenza di {iscrizione.RagioneSociale} è confermata con {iscrizione.Partecipanti} partecipanti ";
+ confirmationMessage = $"La presenza di {iscrizione.RagioneSociale} è confermata con {iscrizione.Partecipanti} partecipanti";
StateHasChanged();
}
}
@@ -296,6 +297,11 @@
isScanning = false;
await StartScan();
}
+
+ await Task.Delay(5000);
+ confirmationMessage = "";
+ invalidMessage = "";
+ StateHasChanged();
}
private async Task Reset()