@if (enableScarti)
{
- @if (RecMSE.IdxOdl > 0)
- {
-
-
-
- }
- else
- {
-
ODL non presente!
- }
+
+
+
}
else
{
diff --git a/MP-TAB-SERV/Components/SlideMenu.razor.cs b/MP-TAB-SERV/Components/SlideMenu.razor.cs
index b6b3766f..2e552f77 100644
--- a/MP-TAB-SERV/Components/SlideMenu.razor.cs
+++ b/MP-TAB-SERV/Components/SlideMenu.razor.cs
@@ -1,5 +1,6 @@
using global::Microsoft.AspNetCore.Components;
using MP.Data.DatabaseModels;
+using MP.Data.Services;
namespace MP_TAB_SERV.Components
{
@@ -16,6 +17,8 @@ namespace MP_TAB_SERV.Components
[Inject]
protected NavigationManager navManager { get; set; } = null!;
+ [Inject]
+ protected MessageService MsgServ { get; set; } = null!;
#endregion Protected Properties
@@ -29,6 +32,10 @@ namespace MP_TAB_SERV.Components
protected async Task SetPage(string tgtUrl)
{
await Task.Delay(1);
+ if (tgtUrl.Contains("status-map"))
+ {
+ await MsgServ.IdxMaccSet("");
+ }
navManager.NavigateTo(tgtUrl);
}
diff --git a/MP-TAB-SERV/MP-TAB-SERV.csproj b/MP-TAB-SERV/MP-TAB-SERV.csproj
index a843e49e..60c1fdae 100644
--- a/MP-TAB-SERV/MP-TAB-SERV.csproj
+++ b/MP-TAB-SERV/MP-TAB-SERV.csproj
@@ -3,7 +3,7 @@
net6.0
enable
- 6.16.2312.515
+ 6.16.2312.608
enable
MP_TAB_SERV
diff --git a/MP-TAB-SERV/Resources/ChangeLog.html b/MP-TAB-SERV/Resources/ChangeLog.html
index 232c2b71..c6762d73 100644
--- a/MP-TAB-SERV/Resources/ChangeLog.html
+++ b/MP-TAB-SERV/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOSPEC
-
Versione: 6.16.2312.515
+
Versione: 6.16.2312.608
Note di rilascio:
-
diff --git a/MP-TAB-SERV/Resources/VersNum.txt b/MP-TAB-SERV/Resources/VersNum.txt
index c3327b6f..6f86a27a 100644
--- a/MP-TAB-SERV/Resources/VersNum.txt
+++ b/MP-TAB-SERV/Resources/VersNum.txt
@@ -1 +1 @@
-6.16.2312.515
+6.16.2312.608
diff --git a/MP-TAB-SERV/Resources/manifest.xml b/MP-TAB-SERV/Resources/manifest.xml
index 176055ed..beff3540 100644
--- a/MP-TAB-SERV/Resources/manifest.xml
+++ b/MP-TAB-SERV/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 6.16.2312.515
+ 6.16.2312.608
https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/MP-TAB-SERV.zip
https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/ChangeLog.html
false
diff --git a/MP-TAB-SERV/Shared/NavMenu.razor b/MP-TAB-SERV/Shared/NavMenu.razor
index 9e64402e..6d0af2c9 100644
--- a/MP-TAB-SERV/Shared/NavMenu.razor
+++ b/MP-TAB-SERV/Shared/NavMenu.razor
@@ -14,7 +14,7 @@
foreach (var item in MenuItems)
{
-
+ SetPage(item.NavigateUrl)">
@item.Testo
@@ -28,4 +28,19 @@
[Parameter]
public List MenuItems { get; set; } = new List();
+
+ [Inject]
+ protected MessageService MsgServ { get; set; } = null!;
+ [Inject]
+ protected NavigationManager navManager { get; set; } = null!;
+
+ protected async Task SetPage(string tgtUrl)
+ {
+ await Task.Delay(1);
+ if (tgtUrl.Contains("status-map"))
+ {
+ await MsgServ.IdxMaccSet("");
+ }
+ navManager.NavigateTo(tgtUrl);
+ }
}