ulteriore fix reindirizzamenti

This commit is contained in:
zaccaria.majid
2022-11-21 17:00:14 +01:00
parent e974756376
commit b8d5ab2d6c
4 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -24,7 +24,7 @@ namespace MP.INVE.Components
{
await localStorage.ClearAsync();
// rimando a pagina login
NavManager.NavigateTo("/MP/Inve/OperatoreLogin", true);
NavManager.NavigateTo("OperatoreLogin", true);
}
#endregion Public Methods
@@ -49,7 +49,7 @@ namespace MP.INVE.Components
userName = $"{answ.Cognome} {answ.Nome} ({answ.MatrOpr})";
if (NavManager.Uri.Contains("OperatoreLogin"))
{
NavManager.NavigateTo("/MP/Inve/Starter", true);
NavManager.NavigateTo("Starter", true);
}
}
else
@@ -57,7 +57,7 @@ namespace MP.INVE.Components
userName = "0";
if (!NavManager.Uri.Contains("OperatoreLogin"))
{
NavManager.NavigateTo("/MP/Inve/OperatoreLogin", true);
NavManager.NavigateTo("OperatoreLogin", true);
}
}
}
+1 -1
View File
@@ -66,7 +66,7 @@ namespace MP.INVE.Pages
if (elencoOperatori.Count == 1)
{
NavManager.NavigateTo("/MP/Inve/InveSession", true);
NavManager.NavigateTo("InveSession", true);
localStorage.SetItemAsync("MatrOpr", sessionOpr);
}
else
+2 -2
View File
@@ -32,7 +32,7 @@ namespace MP.INVE.Shared
userName = $"{answ.Cognome} {answ.Nome} ({answ.MatrOpr})";
if (NavManager.Uri.Contains("OperatoreLogin"))
{
NavManager.NavigateTo("MP/Inve/Starter", true);
NavManager.NavigateTo("Starter", true);
}
}
else
@@ -40,7 +40,7 @@ namespace MP.INVE.Shared
userName = "0";
if (!NavManager.Uri.Contains("OperatoreLogin"))
{
NavManager.NavigateTo("MP/Inve/OperatoreLogin", true);
NavManager.NavigateTo("OperatoreLogin", true);
}
}
}
+1 -1
View File
@@ -19,6 +19,6 @@
"redisLongTimeCache": "15",
"MpIoBaseUrl": "http://localhost:20967/",
"BaseUrl": "https://iis01.egalware.com/mp/inve/Acquisizione?",
"BaseUrlJumper": "https://iis01.egalware.com/MP/jumper?"
"BaseUrlJumper": "https://iis01.egalware.com/jumper?"
}
}