minor fix
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP.INVE</RootNamespace>
|
||||
<Version>6.16.2211.2116</Version>
|
||||
<Version>6.16.2211.2118</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -18,6 +18,8 @@ using Blazored.LocalStorage;
|
||||
using Microsoft.AspNetCore.WebUtilities;
|
||||
using MP.INVE.Data;
|
||||
using MP.Data.DatabaseModels;
|
||||
using MP.Data.DTO;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
|
||||
namespace MP.INVE.Pages
|
||||
{
|
||||
@@ -33,6 +35,7 @@ namespace MP.INVE.Pages
|
||||
private string logged { get; set; } = "";
|
||||
|
||||
private List<AnagOperatoriModel> operatore = new List<AnagOperatoriModel>();
|
||||
private AnagOperatoriModel currOperatore = new AnagOperatoriModel();
|
||||
protected string idOPeratore { get; set; } = null!;
|
||||
protected string authKey { get; set; } = null!;
|
||||
protected override async Task OnInitializedAsync()
|
||||
@@ -47,14 +50,20 @@ namespace MP.INVE.Pages
|
||||
|
||||
operatore = MIService.ElencoOperatori(int.Parse(idOPeratore), MIService.DeriptData(authKey));
|
||||
|
||||
if(operatore.Count == 1)
|
||||
|
||||
if (operatore != null)
|
||||
{
|
||||
logged = "success";
|
||||
NavManager.NavigateTo("Acquisizione");
|
||||
}
|
||||
else
|
||||
{
|
||||
logged = "not success";
|
||||
if (operatore.Count == 1)
|
||||
{
|
||||
logged = "success";
|
||||
NavManager.NavigateTo("Acquisizione");
|
||||
localStorage.SetItemAsync("MatrOpr", idOPeratore);
|
||||
localStorage.SetItemAsync("authKey", authKey);
|
||||
}
|
||||
else
|
||||
{
|
||||
logged = "not success";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOINVE </i>
|
||||
<h4>Versione: 6.16.2211.2116</h4>
|
||||
<h4>Versione: 6.16.2211.2118</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2211.2116
|
||||
6.16.2211.2118
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2211.2116</version>
|
||||
<version>6.16.2211.2118</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/MP.INVE.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-INVE/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace MP.INVE.Shared
|
||||
userName = $"{answ.Cognome} {answ.Nome} ({answ.MatrOpr})";
|
||||
if (NavManager.Uri.Contains("OperatoreLogin"))
|
||||
{
|
||||
NavManager.NavigateTo("Starter", true);
|
||||
NavManager.NavigateTo("Elencomagazzini", true);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace MP.INVE.Shared
|
||||
userName = $"{answ.Cognome} {answ.Nome} ({answ.MatrOpr})";
|
||||
if (NavigationManager.Uri.Contains("OperatoreLogin"))
|
||||
{
|
||||
NavigationManager.NavigateTo("Starter", true);
|
||||
NavigationManager.NavigateTo("Elencomagazzini", true);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -19,6 +19,6 @@
|
||||
"redisLongTimeCache": "15",
|
||||
"MpIoBaseUrl": "http://localhost:20967/",
|
||||
"BaseUrl": "https://iis01.egalware.com/mp/inve/Acquisizione?",
|
||||
"BaseUrlJumper": "https://iis01.egalware.com/jumper?"
|
||||
"BaseUrlJumper": "https://iis01.egalware.com/mp/inve/jumper?"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user