diff --git a/MP-TAB/MP-TAB.Client/Pages/TCHistory.razor b/MP-TAB/MP-TAB.Client/Pages/TCHistory.razor
index b0b308e7..6dd70f7e 100644
--- a/MP-TAB/MP-TAB.Client/Pages/TCHistory.razor
+++ b/MP-TAB/MP-TAB.Client/Pages/TCHistory.razor
@@ -49,7 +49,7 @@
{
|
- Nessun record trovato
+ Nessun record trovato
|
}
@@ -150,14 +150,7 @@
ListComplete = rawData;
TotalCount = ListComplete.Count;
// esegue paginazione
- if (TotalCount > NumRecPage)
- {
- ListODL = ListComplete.Skip((PageNum - 1) * NumRecPage).Take(NumRecPage).ToList();
- }
- else
- {
- ListODL = ListComplete;
- }
+ UpdateTable();
}
}
catch (Exception exc)
@@ -168,16 +161,29 @@
isLoading = false;
}
- protected async Task SavePage(int newNum)
+ protected void UpdateTable()
{
- PageNum = newNum;
- await ReloadData();
+ // esegue paginazione
+ if (TotalCount > NumRecPage)
+ {
+ ListODL = ListComplete.Skip((PageNum - 1) * NumRecPage).Take(NumRecPage).ToList();
+ }
+ else
+ {
+ ListODL = ListComplete;
+ }
}
- protected async Task SaveNumRec(int newNum)
+ protected void SavePage(int newNum)
+ {
+ PageNum = newNum;
+ UpdateTable();
+ }
+
+ protected void SaveNumRec(int newNum)
{
NumRecPage = newNum;
- await ReloadData();
+ UpdateTable();
}
private static NLog.Logger Log = LogManager.GetCurrentClassLogger();
diff --git a/MP-TAB/MP-TAB/Components/App.razor b/MP-TAB/MP-TAB/Components/App.razor
index a83b0d09..965b0d4e 100644
--- a/MP-TAB/MP-TAB/Components/App.razor
+++ b/MP-TAB/MP-TAB/Components/App.razor
@@ -3,7 +3,13 @@
+
+ @* *@
+
+
+
+
@* *@
@@ -11,7 +17,7 @@
-
+
diff --git a/MP-TAB/MP-TAB/wwwroot/favicon.ico b/MP-TAB/MP-TAB/wwwroot/favicon.ico
new file mode 100644
index 00000000..4f0e0ad0
Binary files /dev/null and b/MP-TAB/MP-TAB/wwwroot/favicon.ico differ
diff --git a/MP-TAB/MP-TAB/wwwroot/images/favicon.png b/MP-TAB/MP-TAB/wwwroot/images/favicon.png
new file mode 100644
index 00000000..0f58f814
Binary files /dev/null and b/MP-TAB/MP-TAB/wwwroot/images/favicon.png differ