From 40b16d2e83249f05e0ed2e55e7d86376e2a36368 Mon Sep 17 00:00:00 2001 From: "zaccaria.majid" Date: Thu, 3 Nov 2022 11:28:15 +0100 Subject: [PATCH] spostato bottone flush cache in top --- MP.SPEC/Components/CmpTop.razor | 25 +++++++++++++++++++++++-- MP.SPEC/MP.SPEC.csproj | 2 +- MP.SPEC/Resources/ChangeLog.html | 2 +- MP.SPEC/Resources/VersNum.txt | 2 +- MP.SPEC/Resources/manifest.xml | 2 +- MP.SPEC/Shared/NavMenu.razor | 1 + 6 files changed, 28 insertions(+), 6 deletions(-) diff --git a/MP.SPEC/Components/CmpTop.razor b/MP.SPEC/Components/CmpTop.razor index 8061e546..79c66797 100644 --- a/MP.SPEC/Components/CmpTop.razor +++ b/MP.SPEC/Components/CmpTop.razor @@ -10,7 +10,10 @@
@userName
-
+
+ +
+ @*
@TipoSearch
@@ -18,7 +21,7 @@ { } -
+
*@ @code { @@ -62,4 +65,22 @@ userName = "N.A."; } } + + public async Task flushCache() + { + await Task.Delay(1); + await MDService.FlushRedisCache(); + await JSRuntime.InvokeAsync("location.reload"); + // rimando a home + //NavManager.NavigateTo("", true); + } + + [Inject] + private NavigationManager NavManager { get; set; } = null!; + + [Inject] + protected MpDataService MDService { get; set; } = null!; + + [Inject] + protected IJSRuntime JSRuntime { get; set; } = null!; } diff --git a/MP.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj index f0534463..fc722818 100644 --- a/MP.SPEC/MP.SPEC.csproj +++ b/MP.SPEC/MP.SPEC.csproj @@ -5,7 +5,7 @@ enable enable MP.SPEC - 6.16.2210.2617 + 6.16.2211.310 diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html index c9794f03..5c889378 100644 --- a/MP.SPEC/Resources/ChangeLog.html +++ b/MP.SPEC/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2210.2617

+

Versione: 6.16.2211.310


Note di rilascio:
  • diff --git a/MP.SPEC/Resources/VersNum.txt b/MP.SPEC/Resources/VersNum.txt index 8baef796..6656208b 100644 --- a/MP.SPEC/Resources/VersNum.txt +++ b/MP.SPEC/Resources/VersNum.txt @@ -1 +1 @@ -6.16.2210.2617 +6.16.2211.310 diff --git a/MP.SPEC/Resources/manifest.xml b/MP.SPEC/Resources/manifest.xml index 867aae92..e1da50ab 100644 --- a/MP.SPEC/Resources/manifest.xml +++ b/MP.SPEC/Resources/manifest.xml @@ -1,6 +1,6 @@ - 6.16.2210.2617 + 6.16.2211.310 https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html false diff --git a/MP.SPEC/Shared/NavMenu.razor b/MP.SPEC/Shared/NavMenu.razor index a21d13ba..f0496859 100644 --- a/MP.SPEC/Shared/NavMenu.razor +++ b/MP.SPEC/Shared/NavMenu.razor @@ -38,6 +38,7 @@ { foreach (var item in ElencoLink) { +