+ @if(numTplMissing>0)
+ {
+
+ }
@if (searchRecords != null && searchRecords.Count() > 0)
{
diff --git a/WebDoorCreator.UI/Components/FilesMan/CompoCompare.razor.cs b/WebDoorCreator.UI/Components/FilesMan/CompoCompare.razor.cs
index d05f362..06e4e81 100644
--- a/WebDoorCreator.UI/Components/FilesMan/CompoCompare.razor.cs
+++ b/WebDoorCreator.UI/Components/FilesMan/CompoCompare.razor.cs
@@ -212,7 +212,18 @@ namespace WebDoorCreator.UI.Components.FilesMan
protected async Task updateNumMissing()
{
isLoading = true;
- numTplMissing = await WDCService.CountMissingTemplate(rootPathCur);
+ numTplMissing = await WDCService.CompoCountMissing(rootPathCur);
+ isLoading = false;
+ }
+
+ ///
+ /// Sistema i componenti missing creando file (vuoti) corrispondenti a quanto trovato sul DB
+ ///
+ ///
+ protected async Task fixMissing()
+ {
+ isLoading = true;
+ bool done = await WDCService.CompoFixMissing(rootPathCur);
isLoading = false;
}
diff --git a/WebDoorCreator.UI/WebDoorCreator.UI.csproj b/WebDoorCreator.UI/WebDoorCreator.UI.csproj
index ec9f643..4ce9104 100644
--- a/WebDoorCreator.UI/WebDoorCreator.UI.csproj
+++ b/WebDoorCreator.UI/WebDoorCreator.UI.csproj
@@ -3,7 +3,7 @@
net6.0
enable
- 0.9.2406.1916
+ 0.9.2406.1918
enable
aspnet-WebDoorCreator.UI-dfe95fed-1398-4144-bd43-8b3a765d6608