diff --git a/MP.INVE/MP.INVE.csproj b/MP.INVE/MP.INVE.csproj
index 56a6f8a8..87b9411d 100644
--- a/MP.INVE/MP.INVE.csproj
+++ b/MP.INVE/MP.INVE.csproj
@@ -5,7 +5,7 @@
enable
enable
MP.INVE
- 6.16.2211.2118
+ 6.16.2211.2211
diff --git a/MP.INVE/Resources/ChangeLog.html b/MP.INVE/Resources/ChangeLog.html
index d28a8d8f..0c27d5ad 100644
--- a/MP.INVE/Resources/ChangeLog.html
+++ b/MP.INVE/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOINVE
- Versione: 6.16.2211.2118
+ Versione: 6.16.2211.2211
Note di rilascio:
-
diff --git a/MP.INVE/Resources/VersNum.txt b/MP.INVE/Resources/VersNum.txt
index 28a3cebf..2a67023e 100644
--- a/MP.INVE/Resources/VersNum.txt
+++ b/MP.INVE/Resources/VersNum.txt
@@ -1 +1 @@
-6.16.2211.2118
+6.16.2211.2211
diff --git a/MP.INVE/Resources/manifest.xml b/MP.INVE/Resources/manifest.xml
index 197e1adf..fa8748a3 100644
--- a/MP.INVE/Resources/manifest.xml
+++ b/MP.INVE/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 6.16.2211.2118
+ 6.16.2211.2211
https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/MP.INVE.zip
https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/ChangeLog.html
false
diff --git a/MP.INVE/Shared/MainLayout.razor.cs b/MP.INVE/Shared/MainLayout.razor.cs
index fb1afcdb..9f733c3b 100644
--- a/MP.INVE/Shared/MainLayout.razor.cs
+++ b/MP.INVE/Shared/MainLayout.razor.cs
@@ -38,9 +38,12 @@ namespace MP.INVE.Shared
else
{
userName = "0";
- if (!NavManager.Uri.Contains("OperatoreLogin"))
+ if (Height != 480 && Width != 320)
{
- NavManager.NavigateTo("OperatoreLogin", true);
+ if (!NavManager.Uri.Contains("OperatoreLogin"))
+ {
+ NavManager.NavigateTo("OperatoreLogin", true);
+ }
}
}
}
@@ -56,10 +59,10 @@ namespace MP.INVE.Shared
protected override async Task OnInitializedAsync()
{
- await getId();
var dimension = await JSRuntime.InvokeAsync("getWindowDimensions");
Height = dimension.Height;
Width = dimension.Width;
+ await getId();
}
protected void UpdateNavDisplay()
diff --git a/MP.INVE/Shared/NavMenu.razor b/MP.INVE/Shared/NavMenu.razor
index cd920e0e..9d815cf2 100644
--- a/MP.INVE/Shared/NavMenu.razor
+++ b/MP.INVE/Shared/NavMenu.razor
@@ -9,7 +9,7 @@
}
else
{
- ToggleCompress()">MP.INVE
+ ToggleCompress()">MP.INVE
}