Merge branch 'main' of https://git.azuze.fr/kawa/SharepointToolbox-Web
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
@inject StorageCsvExportService CsvExport
|
||||
@inject StorageHtmlExportService HtmlExport
|
||||
@inject WebExportService WebExport
|
||||
@inject IAuditService Audit
|
||||
@rendermode InteractiveServer
|
||||
|
||||
<h1 class="page-title">Storage Metrics</h1>
|
||||
@@ -120,6 +121,8 @@
|
||||
}
|
||||
_bySite = bySite; _results = flat;
|
||||
_status = $"Complete: {_results.Count} nodes across {_sites.Count} site(s).";
|
||||
await Audit.LogAsync("StorageScan", Session.CurrentProfile?.Name ?? "", _sites.Select(s => s.Url),
|
||||
$"{_results.Count} nodes; depth={_folderDepth} subsites={_includeSubsites} hidden={_includeHidden} recycle={_includeRecycleBin}");
|
||||
}
|
||||
catch (OperationCanceledException) { _status = "Cancelled."; }
|
||||
catch (Exception ex) { _error = ex.Message; }
|
||||
|
||||
Reference in New Issue
Block a user