bozza sposstamento in MiDataService
This commit is contained in:
@@ -22,7 +22,7 @@ namespace MP.INVE.Components
|
||||
|
||||
public async Task LogOut()
|
||||
{
|
||||
await localStorage.ClearAsync();
|
||||
await MIDataService.clearLocalStorageAsync();
|
||||
// rimando a pagina login
|
||||
NavManager.NavigateTo("OperatoreLogin", true);
|
||||
}
|
||||
@@ -33,6 +33,7 @@ namespace MP.INVE.Components
|
||||
|
||||
[Inject]
|
||||
protected IJSRuntime JSRuntime { get; set; } = null!;
|
||||
|
||||
[Inject]
|
||||
protected MiDataService MIDataService { get; set; } = null!;
|
||||
|
||||
@@ -44,8 +45,11 @@ namespace MP.INVE.Components
|
||||
|
||||
protected async Task getId()
|
||||
{
|
||||
#if false
|
||||
OperatoreDTO answ = new OperatoreDTO();
|
||||
answ = await localStorage.GetItemAsync<OperatoreDTO>("MatrOpr");
|
||||
#endif
|
||||
OperatoreDTO answ = await MIDataService.getCurrOperDtoAsync();
|
||||
if (!NavManager.Uri.Contains("Jumper?"))
|
||||
{
|
||||
if (answ != null)
|
||||
@@ -89,10 +93,14 @@ namespace MP.INVE.Components
|
||||
|
||||
[Inject]
|
||||
private NavigationManager NavManager { get; set; } = null!;
|
||||
|
||||
[Inject]
|
||||
private ISessionStorageService sessionStorage { get; set; } = null!;
|
||||
|
||||
#if false
|
||||
[Inject]
|
||||
private ILocalStorageService localStorage { get; set; } = null!;
|
||||
#endif
|
||||
|
||||
#endregion Private Properties
|
||||
}
|
||||
|
||||
+476
-414
File diff suppressed because it is too large
Load Diff
@@ -5,7 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP.INVE</RootNamespace>
|
||||
<Version>6.16.2212.1610</Version>
|
||||
<Version>6.16.2212.1611</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOINVE </i>
|
||||
<h4>Versione: 6.16.2212.1610</h4>
|
||||
<h4>Versione: 6.16.2212.1611</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2212.1610
|
||||
6.16.2212.1611
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2212.1610</version>
|
||||
<version>6.16.2212.1611</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>
|
||||
|
||||
Reference in New Issue
Block a user