diff --git a/LiMan.Api/appsettings.json b/LiMan.Api/appsettings.json index 9eaca6a..e723b87 100644 --- a/LiMan.Api/appsettings.json +++ b/LiMan.Api/appsettings.json @@ -42,5 +42,6 @@ ], "Database": 14 }, - "FileShare": "\\\\stor01\\TEAM DRIVES\\40_FileUpload\\unsafe_uploads" + "FileShare": "\\\\stor01\\TEAM DRIVES\\40_FileUpload\\unsafe_uploads", + "ApiUrl": "https://liman.egalware.com/" } \ No newline at end of file diff --git a/LiMan.UI/Components/Tickets.razor b/LiMan.UI/Components/Tickets.razor index 61d0cfb..567f637 100644 --- a/LiMan.UI/Components/Tickets.razor +++ b/LiMan.UI/Components/Tickets.razor @@ -1,4 +1,10 @@ @using LiMan.UI.Components +@using Microsoft.Extensions.Configuration +@inject IConfiguration Configuration + +@using System.IO +@inject IJSRuntime JS +
@@ -76,8 +82,7 @@ Nome File - OriginalName - @*FullStoragePath*@ + FullStoragePath @@ -86,16 +91,24 @@ - @record.OriginalName
+ @**@ + @record.OriginalName + @* @record.OriginalName*@ + - @* +
@record.FullStoragePath
- *@ + + } + + @* *@
} diff --git a/LiMan.UI/Components/Tickets.razor.cs b/LiMan.UI/Components/Tickets.razor.cs index 295be22..31fe242 100644 --- a/LiMan.UI/Components/Tickets.razor.cs +++ b/LiMan.UI/Components/Tickets.razor.cs @@ -122,6 +122,16 @@ namespace LiMan.UI.Components isLoading = false; } + + //private async void DownloadFileFromURL(string fileName, string rawUrl) + //{ + // rawUrl = rawUrl.Replace("\\", "/"); + // var fileURL = $"unsafe_uploads/"+rawUrl; + // //var fileName = "log-0001.txt"; + // //var fileName = FileAttached; + // await JS.InvokeVoidAsync("triggerFileDownload", fileName, fileURL); + //} + #endregion Private Methods #region Protected Methods diff --git a/LiMan.UI/LiMan.UI.csproj b/LiMan.UI/LiMan.UI.csproj index 86114de..98affc9 100644 --- a/LiMan.UI/LiMan.UI.csproj +++ b/LiMan.UI/LiMan.UI.csproj @@ -2,7 +2,7 @@ net5.0 - 1.1.2202.0710 + 1.1.2202.0910 LiMan.UI LiMan.UI diff --git a/LiMan.UI/Resources/ChangeLog.html b/LiMan.UI/Resources/ChangeLog.html index 91b1178..5c7c3f4 100644 --- a/LiMan.UI/Resources/ChangeLog.html +++ b/LiMan.UI/Resources/ChangeLog.html @@ -1,6 +1,6 @@ License Manager -

Versione: 1.1.2202.0710

+

Versione: 1.1.2202.0910


Note di rilascio: