Fix errore apertura fermate a loop
This commit is contained in:
@@ -211,7 +211,7 @@ namespace MP_TAB_SERV.Pages
|
||||
rdm_nEvCheck = SMServ.GetConfInt("rdm_nEvCheck");
|
||||
rdm_ChkOnly = SMServ.GetConfBool("rdm_ChkOnly");
|
||||
// leggo gli altri dati
|
||||
await ReloadData();
|
||||
await ReloadData();
|
||||
}
|
||||
|
||||
protected async Task RefreshData(List<MappaStatoExpl> newList)
|
||||
@@ -229,7 +229,6 @@ namespace MP_TAB_SERV.Pages
|
||||
await ReloadData();
|
||||
}
|
||||
}
|
||||
await InvokeAsync(StateHasChanged);
|
||||
}
|
||||
|
||||
protected void SetDate(DateTime newDate)
|
||||
@@ -274,9 +273,10 @@ namespace MP_TAB_SERV.Pages
|
||||
events2show = eventsAll.Where(x => x.EventoTablet).OrderBy(x => x.label).ToList();
|
||||
}
|
||||
}
|
||||
catch
|
||||
catch(Exception exc)
|
||||
{
|
||||
NavMan.NavigateTo("/", true);
|
||||
Log.Error($"ProdStop: Eccezione in reloadData {Environment.NewLine}{exc}");
|
||||
await MServ.LastOpenedPageSet("/");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user