Fix gestione allegati e creato metodo di esportazione log
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
@inject IIspezioniService IspezioniService
|
||||
@inject IIntegrySteupService IntegrySteupService
|
||||
@inject IDialogService Dialog
|
||||
@inject IAttachedService AttachedService
|
||||
@inject IFileManager FileManager
|
||||
|
||||
<div class="scheda-card">
|
||||
<div class="scheda-body-section">
|
||||
@@ -104,7 +104,7 @@
|
||||
{
|
||||
foreach (var fileName in Scheda.ImageNames)
|
||||
{
|
||||
AttachedService.RemoveInspectionFile(Ispezione, fileName);
|
||||
FileManager.RemoveInspectionFile(Ispezione, fileName);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
{
|
||||
if (Scheda.ImageNames == null) return;
|
||||
|
||||
var fileList = (await AttachedService.GetInspectionFiles(Ispezione, Scheda.ImageNames))?
|
||||
var fileList = (await FileManager.GetInspectionFiles(Ispezione, Scheda.ImageNames))?
|
||||
.Where(x => x.ToUpload).ToList();
|
||||
|
||||
if (fileList == null) return;
|
||||
|
||||
Reference in New Issue
Block a user