+
@if (isProcessing)
{
+
+ }
+ else if (isReindexing)
+ {
}
else
diff --git a/MP.SPEC/Pages/FluxLogStatus.razor.cs b/MP.SPEC/Pages/FluxLogStatus.razor.cs
index baa2a72a..9a3cbc73 100644
--- a/MP.SPEC/Pages/FluxLogStatus.razor.cs
+++ b/MP.SPEC/Pages/FluxLogStatus.razor.cs
@@ -95,9 +95,11 @@ namespace MP.SPEC.Pages
if (!await JSRuntime.InvokeAsync
("confirm", "Manutenzione Database: si tratta di un operazione che puņ richiedere un tempo levato sei sicuro di voler procedere?"))
return;
- isProcessing = true;
+ isReindexing = true;
+ await InvokeAsync(StateHasChanged);
await MDataServ.ForceDbMaint(true, true, true, 1000, 10, 50);
- isProcessing = false;
+ isReindexing = false;
+ await InvokeAsync(StateHasChanged);
}
protected override async Task OnInitializedAsync()
@@ -221,6 +223,7 @@ namespace MP.SPEC.Pages
private string idxMaccSel { get; set; } = "";
private bool isProcessing { get; set; } = false;
+ private bool isReindexing { get; set; } = false;
protected double currVal = 0;