diff --git a/GPW.CORE.SMART/Components/BottoniEntrEsc.razor b/GPW.CORE.SMART/Components/BottoniEntrEsc.razor index 504cdeb..ecb5459 100644 --- a/GPW.CORE.SMART/Components/BottoniEntrEsc.razor +++ b/GPW.CORE.SMART/Components/BottoniEntrEsc.razor @@ -1,22 +1,22 @@ 
@if (IsRicTimb) { - - + + } else { @if (nextIsEntrata) { - + } else { - + } }
diff --git a/GPW.CORE.SMART/Components/BottoniEntrEsc.razor.cs b/GPW.CORE.SMART/Components/BottoniEntrEsc.razor.cs index 5ef0383..cbd3f7f 100644 --- a/GPW.CORE.SMART/Components/BottoniEntrEsc.razor.cs +++ b/GPW.CORE.SMART/Components/BottoniEntrEsc.razor.cs @@ -43,7 +43,7 @@ namespace GPW.CORE.Smart.Components #region Protected Methods - protected async void DoAdd(bool IsUscita) + protected async Task DoAdd(bool IsUscita) { // var accessorie / base TimbratureModel currRecord = new TimbratureModel(); @@ -186,7 +186,7 @@ namespace GPW.CORE.Smart.Components lastAction = $"Registrato evento {lastAct} alle {adesso:HH:mm}"; // inidico inizio update isRecording = true; - DoAdd(!isEntrata); + await DoAdd(!isEntrata); nextIsEntrata = !isEntrata; MService.ReportTimbratura(); // chiudo visualizzazione stato update